1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

udev-event: fix memleak in udev_event

The leak was introduced by 29448498c7.
This commit is contained in:
Yu Watanabe 2018-10-25 07:03:24 +09:00
parent 89665d0920
commit d737197154

View File

@ -66,6 +66,7 @@ void udev_event_unref(struct udev_event *event) {
sd_netlink_unref(event->rtnl);
while ((p = hashmap_steal_first_key(event->run_list)))
free(p);
hashmap_free(event->run_list);
hashmap_free_free_free(event->seclabel_list);
free(event->program_result);
free(event->name);