summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/samples/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/samples/mount.c')
-rw-r--r--shlibs/mount/samples/mount.c1
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;
}