diff options
author | Thomas Haller <thaller@redhat.com> | 2015-03-13 21:31:46 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-03-20 11:43:29 +0100 |
commit | 5e962bef878682c3821c1527758adbae4ee3e721 (patch) | |
tree | e50ee04702d6b415df39e4df8acc70f6b3d31926 /src/main.c | |
parent | ee4543bd6e4958e93d19a878f8403c4afa398c6e (diff) | |
download | NetworkManager-5e962bef878682c3821c1527758adbae4ee3e721.tar.gz |
main: don't unref config instance at end of main()
config is a singleton implemented using NM_DEFINE_SINGLETON_DESTRUCTOR().
No need to unref it manually.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index d76bbffa3b..0e9e923dcd 100644 --- a/src/main.c +++ b/src/main.c @@ -215,7 +215,7 @@ main (int argc, char *argv[]) gboolean success, show_version = FALSE; NMManager *manager = NULL; gs_unref_object NMSettings *settings = NULL; - gs_unref_object NMConfig *config = NULL; + NMConfig *config; GError *error = NULL; gboolean wrote_pidfile = FALSE; char *bad_domains = NULL; |