iface-helper: free main_loop instance at end of main()
This commit is contained in:
@@ -526,6 +526,7 @@ main (int argc, char *argv[])
|
|||||||
nm_log_info (LOGD_CORE, "exiting");
|
nm_log_info (LOGD_CORE, "exiting");
|
||||||
|
|
||||||
nm_clear_g_source (&sd_id);
|
nm_clear_g_source (&sd_id);
|
||||||
|
g_clear_pointer (&gl.main_loop, g_main_loop_unref);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user