summaryrefslogtreecommitdiffstats
path: root/misc-utils/lslocks.c
diff options
context:
space:
mode:
authorKarel Zak2013-06-10 11:44:40 +0200
committerKarel Zak2013-09-16 16:46:59 +0200
commit4bab4729e2e7be447f5c214cd5e61647b5ee3a83 (patch)
treec2009e8c1367c3f23e1303d48f570c43b86e11b9 /misc-utils/lslocks.c
parentfindmnt: use TT_FL_FREEDATA for tt table (diff)
downloadkernel-qcow2-util-linux-4bab4729e2e7be447f5c214cd5e61647b5ee3a83.tar.gz
kernel-qcow2-util-linux-4bab4729e2e7be447f5c214cd5e61647b5ee3a83.tar.xz
kernel-qcow2-util-linux-4bab4729e2e7be447f5c214cd5e61647b5ee3a83.zip
lslocks: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lslocks.c')
-rw-r--r--misc-utils/lslocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/lslocks.c b/misc-utils/lslocks.c
index c2ad18dd1..ab85bf7c3 100644
--- a/misc-utils/lslocks.c
+++ b/misc-utils/lslocks.c
@@ -450,7 +450,7 @@ static int show_locks(struct list_head *locks, int tt_flags)
struct list_head *p, *pnext;
struct tt *tt;
- tt = tt_new_table(tt_flags);
+ tt = tt_new_table(tt_flags | TT_FL_FREEDATA);
if (!tt) {
warn(_("failed to initialize output table"));
return -1;