diff options
author | Karel Zak | 2013-08-21 16:07:25 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-21 16:07:25 +0200 |
commit | c9f1585e67717068e82ba22bc498aabf2954c113 (patch) | |
tree | 01f996b217aef1f2efbf235667a16f7de5a5c96e /libmount/src/tab_diff.c | |
parent | misc: use libmnt_cache reference counting (diff) | |
download | kernel-qcow2-util-linux-c9f1585e67717068e82ba22bc498aabf2954c113.tar.gz kernel-qcow2-util-linux-c9f1585e67717068e82ba22bc498aabf2954c113.tar.xz kernel-qcow2-util-linux-c9f1585e67717068e82ba22bc498aabf2954c113.zip |
libmount: add reference counter to libmnt_table
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/tab_diff.c')
-rw-r--r-- | libmount/src/tab_diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/tab_diff.c b/libmount/src/tab_diff.c index 71ef0f419..052278233 100644 --- a/libmount/src/tab_diff.c +++ b/libmount/src/tab_diff.c @@ -355,8 +355,8 @@ int test_diff(struct libmnt_test *ts, int argc, char *argv[]) rc = 0; done: - mnt_free_table(tb_old); - mnt_free_table(tb_new); + mnt_unref_table(tb_old); + mnt_unref_table(tb_new); mnt_free_tabdiff(diff); mnt_free_iter(itr); return rc; |