summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2017-09-08 20:39:29 +0200
committerJens Georg <mail@jensge.org>2017-09-09 12:18:59 +0200
commit82b0bc5ea8bd817e53d3fb66f00b38ca9778df0d (patch)
tree6f7ec6b7810c6d5308155c36babda725c2c3841f
parent4046b9854429a95d125212a3771fd1cb2424843f (diff)
downloadgupnp-tools-82b0bc5ea8bd817e53d3fb66f00b38ca9778df0d.tar.gz
universal-cp: Fix critical on subdevice
-rw-r--r--src/universal-cp/device-treeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universal-cp/device-treeview.c b/src/universal-cp/device-treeview.c
index 79ec04b..f027ace 100644
--- a/src/universal-cp/device-treeview.c
+++ b/src/universal-cp/device-treeview.c
@@ -400,7 +400,7 @@ on_device_icon_available (GUPnPDeviceInfo *info,
0, icon,
-1);
- g_object_unref (icon);
+ g_clear_object (&icon);
}
static void