diff options
author | Petr Uzel | 2011-03-31 00:05:01 +0200 |
---|---|---|
committer | Karel Zak | 2011-03-31 00:05:01 +0200 |
commit | b192b7b9a6b2e52fd266315cf13d04d2658e8133 (patch) | |
tree | 45aac38454cf239add5ce0d126ff2f54c7a87ae7 /shlibs/mount/samples/mount.c | |
parent | libmount: fix some typos and copy&paste mistakes in comments (diff) | |
download | kernel-qcow2-util-linux-b192b7b9a6b2e52fd266315cf13d04d2658e8133.tar.gz kernel-qcow2-util-linux-b192b7b9a6b2e52fd266315cf13d04d2658e8133.tar.xz kernel-qcow2-util-linux-b192b7b9a6b2e52fd266315cf13d04d2658e8133.zip |
libmount: plug memory leak in sample program
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/samples/mount.c')
-rw-r--r-- | shlibs/mount/samples/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/mount/samples/mount.c b/shlibs/mount/samples/mount.c index dd8e6c15c..0a3c251bd 100644 --- a/shlibs/mount/samples/mount.c +++ b/shlibs/mount/samples/mount.c @@ -140,6 +140,7 @@ static int print_all(struct libmnt_context *cxt, char *pattern, int show_label) } done: mnt_free_cache(cache); + mnt_free_iter(itr); return rc; } |