summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-10 18:25:51 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-10 20:12:34 +0200
commit096b6773886bd7a0c8c97aa684b0b67dfae58355 (patch)
tree3d21c634526c300daed0d211aad46138308bb742 /src/resolve/resolved-manager.c
parent138992534878483de28417dfc61c546bba5cb8ad (diff)
resolved: properly free network monitor
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 9d073c725c..b4f4d07147 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -149,6 +149,8 @@ void manager_free(Manager *m) {
if (!m)
return;
+ sd_event_source_unref(m->network_event_source);
+ sd_network_monitor_unref(m->network_monitor);
sd_event_unref(m->event);
while ((address = m->fallback_dns)) {