[systemd-devel] [PATCH] match: kdbus_match_entry_free fixed
Daniel Mack
daniel at zonque.org
Fri Feb 14 07:11:21 PST 2014
On 02/14/2014 10:47 AM, Radoslaw Pajak wrote:
> Signed-off-by: Radoslaw Pajak <r.pajak at 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);
> }
>
> /**
>
Applied, thanks!
More information about the systemd-devel
mailing list