diff options
-rw-r--r-- | mount/lomount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mount/lomount.c b/mount/lomount.c index 93bcb466b..6b102925f 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -156,8 +156,7 @@ looplist_open(struct looplist *ll, int flag) static void looplist_close(struct looplist *ll) { - if (ll->minors) - free(ll->minors); + free(ll->minors); if (ll->proc) fclose(ll->proc); ll->minors = NULL; |