summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorKarel Zak2019-06-11 11:22:22 +0200
committerKarel Zak2019-06-11 11:22:39 +0200
commit41994e0097da85c5d7f8e8ffc400366ae158f54b (patch)
tree888354290cad2d05408d7e19f5ba6b7e682ba618 /disk-utils
parentfstrim: update man page, reuse libmnt_iter (diff)
downloadkernel-qcow2-util-linux-41994e0097da85c5d7f8e8ffc400366ae158f54b.tar.gz
kernel-qcow2-util-linux-41994e0097da85c5d7f8e8ffc400366ae158f54b.tar.xz
kernel-qcow2-util-linux-41994e0097da85c5d7f8e8ffc400366ae158f54b.zip
cfdisk: free libfdisk items
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/cfdisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 6b66ba9fd..61f3258b3 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -2731,6 +2731,7 @@ int main(int argc, char *argv[])
cfdisk_free_lines(cf);
free(cf->linesbuf);
+ free(cf->fields);
fdisk_unref_table(cf->table);
#ifdef HAVE_LIBMOUNT