From d68f67bf5c7bf3474dea58abf846813dcdf1cecf Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Fri, 6 Sep 2013 13:41:03 -0700 Subject: [PATCH] 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 Acked-by: Tyler Hicks --- parser/dbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parser/dbus.c b/parser/dbus.c index ca5161df1..8bb1f8e40 100644 --- a/parser/dbus.c +++ b/parser/dbus.c @@ -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; }