diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index 056637e4cb..015abc29f5 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -156,6 +156,7 @@ virSecuritySELinuxContextListFree(void *opaque) for (i = 0; i < list->nItems; i++) virSecuritySELinuxContextItemFree(list->items[i]); + VIR_FREE(list->items); VIR_FREE(list); }