On 08/28/2015 02:59 PM, Steve Lawrence wrote: > Signed-off-by: Steve Lawrence <slawrence@xxxxxxxxxx> Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx> > --- > 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); > _______________________________________________ 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.