]> xenbits.xensource.com Git - libvirt.git/commitdiff
storage: Need to add virCommandFree()
authorJohn Ferlan <jferlan@redhat.com>
Wed, 23 Jan 2013 22:04:46 +0000 (17:04 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Jan 2013 11:37:30 +0000 (12:37 +0100)
src/storage/storage_backend_fs.c

index 21589a66d668a34bca093d9902ce34cb59f2e899..a58280468cd3ceb45e4b74a5b646130bbdf4b415 100644 (file)
@@ -648,6 +648,8 @@ virStorageBackendExecuteMKFS(const char *device,
                              format, device);
         ret = -1;
     }
+
+    virCommandFree(cmd);
     return ret;
 }
 #else /* #ifdef MKFS */