fish: Fix memory leak in handling of encrypted volumes by -i option.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 19 Nov 2010 15:31:22 +0000 (15:31 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 19 Nov 2010 15:32:02 +0000 (15:32 +0000)
This fixes a memory leak introduced by
commit a232e62dcf508517a32b9a8d7e4529e827be721b.

fish/inspect.c

index cc3916b..2817112 100644 (file)
@@ -204,6 +204,7 @@ do_decrypt (void)
 
       need_rescan = 1;
     }
+    free (type);
   }
 
   free_strings (partitions);