diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-10 18:25:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-10 20:12:34 +0200 |
commit | 096b6773886bd7a0c8c97aa684b0b67dfae58355 (patch) | |
tree | 3d21c634526c300daed0d211aad46138308bb742 /src | |
parent | 138992534878483de28417dfc61c546bba5cb8ad (diff) |
resolved: properly free network monitor
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-manager.c | 2 |
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)) { |