[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/5] security: Need to add virCommandFree()



---
 src/security/security_apparmor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index 7331c91..6dcf6be 100644
--- a/src/security/security_apparmor.c
+++ b/src/security/security_apparmor.c
@@ -201,6 +201,7 @@ load_profile(virSecurityManagerPtr mgr,
 
     virCommandSetInputBuffer(cmd, xml);
     rc = virCommandRun(cmd, NULL);
+    virCommandFree(cmd);
 
   clean:
     VIR_FREE(xml);
-- 
1.7.11.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]