summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {