summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.c b/libnm-glib/nm-device.c
index b5575e3908..626c84a97d 100644
--- a/libnm-glib/nm-device.c
+++ b/libnm-glib/nm-device.c
@@ -1960,6 +1960,7 @@ get_bus_name (NMDevice *device)
*/
priv->bus_name = g_strdup ("");
}
+ g_object_unref (udevice);
out:
if (*priv->bus_name)