Signed-off-by: Radoslaw Pajak <r.pa...@samsung.com> --- match.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/match.c b/match.c index d619bef..4c51327 100644 --- a/match.c +++ b/match.c @@ -121,6 +121,9 @@ static void kdbus_match_entry_free(struct kdbus_match_entry *entry) list_for_each_entry_safe(r, tmp, &entry->rules_list, rules_entry) kdbus_match_rule_free(r); + + list_del(&entry->list_entry); + kfree(entry); } /** -- 1.7.9.5 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel