mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 09:50:17 +01:00
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.
This commit is contained in:
parent
ee4543bd6e
commit
5e962bef87
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue