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:
parent
dd5145131e
commit
d68f67bf5c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user