summaryrefslogtreecommitdiffstats
path: root/libmount/src/tab_diff.c
diff options
context:
space:
mode:
authorKarel Zak2012-01-26 14:47:48 +0100
committerKarel Zak2012-01-26 14:47:48 +0100
commit9bf51834fdd78f9a7a1e8c3a2e571ee7410cf3c9 (patch)
tree0ea38e2046aa76f4b5f2e7196462949b403234eb /libmount/src/tab_diff.c
parenttests: add valgrind to libmount tabdiff tests (diff)
downloadkernel-qcow2-util-linux-9bf51834fdd78f9a7a1e8c3a2e571ee7410cf3c9.tar.gz
kernel-qcow2-util-linux-9bf51834fdd78f9a7a1e8c3a2e571ee7410cf3c9.tar.xz
kernel-qcow2-util-linux-9bf51834fdd78f9a7a1e8c3a2e571ee7410cf3c9.zip
libmount: fix leak in tabdiff test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/tab_diff.c')
-rw-r--r--libmount/src/tab_diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/tab_diff.c b/libmount/src/tab_diff.c
index 8ea9f26b0..45434fc71 100644
--- a/libmount/src/tab_diff.c
+++ b/libmount/src/tab_diff.c
@@ -343,6 +343,7 @@ done:
mnt_free_table(tb_old);
mnt_free_table(tb_new);
mnt_free_tabdiff(diff);
+ mnt_free_iter(itr);
return rc;
}