diff options
Diffstat (limited to 'src/devices/nm-device-factory.c')
-rw-r--r-- | src/devices/nm-device-factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-factory.c b/src/devices/nm-device-factory.c index 45fb8e705a..eef3a6c954 100644 --- a/src/devices/nm-device-factory.c +++ b/src/devices/nm-device-factory.c @@ -330,7 +330,7 @@ _load_internal_factory (GType factory_gtype, NMDeviceFactoryManagerFactoryFunc callback, gpointer user_data) { - NMDeviceFactory *factory; + gs_unref_object NMDeviceFactory *factory = NULL; factory = (NMDeviceFactory *) g_object_new (factory_gtype, NULL); _add_factory (factory, NULL, callback, user_data); |