]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: use TT_FL_FREEDATA for tt table
authorKarel Zak <kzak@redhat.com>
Mon, 10 Jun 2013 10:04:27 +0000 (12:04 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2013 14:46:59 +0000 (16:46 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c

index 69e76922954a91742f444da558e2d483ffbb2ef2..b4eddab7676eb4edbcb085f3d8fe1144a0679448 100644 (file)
@@ -1579,7 +1579,7 @@ int main(int argc, char *argv[])
        /*
         * initialize output columns
         */
-       if (!(lsblk->tt = tt_new_table(tt_flags)))
+       if (!(lsblk->tt = tt_new_table(tt_flags | TT_FL_FREEDATA)))
                errx(EXIT_FAILURE, _("failed to initialize output table"));
 
        for (i = 0; i < ncolumns; i++) {