diff options
Diffstat (limited to 'src/security')
-rw-r--r-- | src/security/security_stack.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/security/security_stack.c b/src/security/security_stack.c index 79b3e1f30..64f745af8 100644 --- a/src/security/security_stack.c +++ b/src/security/security_stack.c @@ -61,8 +61,13 @@ virSecurityStackOpen(virSecurityManagerPtr mgr ATTRIBUTE_UNUSED) } static int -virSecurityStackClose(virSecurityManagerPtr mgr ATTRIBUTE_UNUSED) +virSecurityStackClose(virSecurityManagerPtr mgr) { + virSecurityStackDataPtr priv = virSecurityManagerGetPrivateData(mgr); + + virSecurityManagerFree(priv->primary); + virSecurityManagerFree(priv->secondary); + return 0; } |