[gupnp] Fix a refcount issue on device proxy object
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Fix a refcount issue on device proxy object
- Date: Fri, 20 Apr 2012 14:34:57 +0000 (UTC)
commit 8528b340ae7b1141e946f4e81e4921a72dda4f86
Author: Ludovic Ferrandis <ludovic ferrandis linux intel com>
Date: Thu Apr 19 18:09:29 2012 +0200
Fix a refcount issue on device proxy object
https://bugzilla.gnome.org/show_bug.cgi?id=674410
libgupnp/gupnp-network-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp/gupnp-network-manager.c b/libgupnp/gupnp-network-manager.c
index 0e918e7..312720b 100644
--- a/libgupnp/gupnp-network-manager.c
+++ b/libgupnp/gupnp-network-manager.c
@@ -125,7 +125,7 @@ nm_device_new (GUPnPNetworkManager *manager,
nm_device = g_slice_new0 (NMDevice);
nm_device->manager = manager;
- nm_device->proxy = g_object_ref (device_proxy);
+ nm_device->proxy = device_proxy;
return nm_device;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]