summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-05 15:10:34 +0200
committerThomas Haller <thaller@redhat.com>2016-10-05 15:10:34 +0200
commit918f33cde84f97047c4d8df75272bd5986d8cc4a (patch)
tree5da2ae3c81d5f58f59af274bfeb47a58f67c158f
parentd8724ab4f5b036dd76b65c814dfef8ae39564469 (diff)
downloadNetworkManager-918f33cde84f97047c4d8df75272bd5986d8cc4a.tar.gz
iface-helper: free main_loop instance at end of main()
-rw-r--r--src/nm-iface-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c
index 65580854a5..b61afe3da2 100644
--- a/src/nm-iface-helper.c
+++ b/src/nm-iface-helper.c
@@ -526,6 +526,7 @@ main (int argc, char *argv[])
nm_log_info (LOGD_CORE, "exiting");
nm_clear_g_source (&sd_id);
+ g_clear_pointer (&gl.main_loop, g_main_loop_unref);
return 0;
}