Signed-off-by: Steve Lawrence <slawrence@xxxxxxxxxx> --- libsepol/src/avtab.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsepol/src/avtab.c b/libsepol/src/avtab.c index 799b98f..a800416 100644 --- a/libsepol/src/avtab.c +++ b/libsepol/src/avtab.c @@ -309,6 +309,10 @@ void avtab_destroy(avtab_t * h) for (i = 0; i < h->nslot; i++) { cur = h->htable[i]; while (cur != NULL) { + if (cur->key.specified & AVTAB_XPERMS) { + free(cur->datum.xperms); + } + temp = cur; cur = cur->next; free(temp); -- 2.4.3 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.