[Telepathy-commits] [telepathy-gabble/master] src/tube-stream.c: Fix a leak in get_property for PROP_SUPPORTED_SOCKET_TYPES.

Alban Crequy alban.crequy at collabora.co.uk
Mon Nov 3 10:41:41 PST 2008


---
 src/tube-stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index ae60201..8546610 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1082,7 +1082,7 @@ gabble_tube_stream_get_property (GObject *object,
           }
         break;
       case PROP_SUPPORTED_SOCKET_TYPES:
-        g_value_set_boxed (value,
+        g_value_take_boxed (value,
             gabble_tube_stream_get_supported_socket_types ());
         break;
       default:
-- 
1.5.6.5




More information about the Telepathy-commits mailing list