From: John Ferlan Date: Wed, 23 Jan 2013 22:04:46 +0000 (-0500) Subject: storage: Need to add virCommandFree() X-Git-Tag: v1.0.2-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e556b60c9495fb263d67bb19d09f63e252bd587;p=thirdparty%2Flibvirt.git storage: Need to add virCommandFree() --- diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c index 21589a66d6..a58280468c 100644 --- a/src/storage/storage_backend_fs.c +++ b/src/storage/storage_backend_fs.c @@ -648,6 +648,8 @@ virStorageBackendExecuteMKFS(const char *device, format, device); ret = -1; } + + virCommandFree(cmd); return ret; } #else /* #ifdef MKFS */