]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
umount: (new) fix resource leak [coverity scan]
authorKarel Zak <kzak@redhat.com>
Mon, 30 Jan 2012 22:49:00 +0000 (23:49 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Jan 2012 22:49:23 +0000 (23:49 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c

index 20a2c1af7903921eb190359f9eaede130817a4b8..b3c2c909a6e055b9c52347a906f594b9dc31a896 100644 (file)
@@ -255,6 +255,7 @@ static int umount_all(struct libmnt_context *cxt)
                }
        }
 
+       mnt_free_iter(itr);
        return rc;
 }