summaryrefslogtreecommitdiffstats
path: root/fish/inspect.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-19 15:31:22 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-19 15:32:02 +0000
commit60a62788d48e1d45fcb75cf0bcc7d375c42b83ba (patch)
tree4e8389501c3bf8cd35d247c938ba7cd10b06b3a0 /fish/inspect.c
parent4f9a670d09b4d620fccc36e7c2df8fc912749f97 (diff)
downloadlibguestfs-60a62788d48e1d45fcb75cf0bcc7d375c42b83ba.tar.gz
libguestfs-60a62788d48e1d45fcb75cf0bcc7d375c42b83ba.tar.xz
libguestfs-60a62788d48e1d45fcb75cf0bcc7d375c42b83ba.zip
fish: Fix memory leak in handling of encrypted volumes by -i option.
This fixes a memory leak introduced by commit a232e62dcf508517a32b9a8d7e4529e827be721b.
Diffstat (limited to 'fish/inspect.c')
-rw-r--r--fish/inspect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fish/inspect.c b/fish/inspect.c
index cc3916b1..28171127 100644
--- a/fish/inspect.c
+++ b/fish/inspect.c
@@ -204,6 +204,7 @@ do_decrypt (void)
need_rescan = 1;
}
+ free (type);
}
free_strings (partitions);