[gupnp-tools] universal-cp: Fix critical on subdevice
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] universal-cp: Fix critical on subdevice
- Date: Sat, 9 Sep 2017 10:19:20 +0000 (UTC)
commit 82b0bc5ea8bd817e53d3fb66f00b38ca9778df0d
Author: Jens Georg <mail jensge org>
Date: Fri Sep 8 20:39:29 2017 +0200
universal-cp: Fix critical on subdevice
src/universal-cp/device-treeview.c | 2 +-
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]