2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 21:38:15 +00:00

Subject: parser - fix dbus peer_conds memory leak in new_dbus_entry()

The function new_dbus_entry() free()s the conds argument but not the
peer_conds argument.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
Steve Beattie 2013-09-06 13:41:03 -07:00
parent dd5145131e
commit d68f67bf5c

View File

@ -138,6 +138,7 @@ struct dbus_entry *new_dbus_entry(int mode, struct cond_entry *conds,
out:
free_cond_list(conds);
free_cond_list(peer_conds);
return ent;
}