resolved: properly free network monitor

This commit is contained in:
Lennart Poettering
2014-07-10 20:12:34 +02:00
parent 1389925348
commit 096b677388
+2
View File
@@ -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)) {