projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0564a
)
resolve: fix memleak
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 12 Jul 2019 05:19:36 +0000
(14:19 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 16 Jul 2019 21:59:12 +0000
(06:59 +0900)
src/resolve/resolved-manager.c
patch
|
blob
|
history
diff --git
a/src/resolve/resolved-manager.c
b/src/resolve/resolved-manager.c
index
d65c780
..
fc8607f
100644
(file)
--- a/
src/resolve/resolved-manager.c
+++ b/
src/resolve/resolved-manager.c
@@
-14,6
+14,7
@@
#include "af-list.h"
#include "alloc-util.h"
+#include "bus-util.h"
#include "dirent-util.h"
#include "dns-domain.h"
#include "fd-util.h"
@@
-700,6
+701,8
@@
Manager *manager_free(Manager *m) {
manager_mdns_stop(m);
manager_dns_stub_stop(m);
+ bus_verify_polkit_async_registry_free(m->polkit_registry);
+
sd_bus_flush_close_unref(m->bus);
sd_event_source_unref(m->sigusr1_event_source);