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:
parent
89665d0920
commit
d737197154
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user