summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-21 15:18:46 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-22 18:08:50 +0100
commite01a5b499ed457135c12e31e9acf85b41ac81e62 (patch)
tree8a8710a2b2fd44fc9787bf8698374856867c747f
parentee911fc4930c0466d4d8d75c83b179715a2c3ce5 (diff)
downloadtelepathy-gabble-e01a5b499ed457135c12e31e9acf85b41ac81e62.tar.gz
gabble_call_stream_get_property: don't leak contents of STUN_SERVERS
This had the same bug as LOCAL_CANDIDATES.
-rw-r--r--src/call-stream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/call-stream.c b/src/call-stream.c
index 7d7d1b2b8..66f130fc3 100644
--- a/src/call-stream.c
+++ b/src/call-stream.c
@@ -220,8 +220,7 @@ gabble_call_stream_get_property (GObject *object,
g_object_unref (connection);
- g_value_set_boxed (value, arr);
- g_ptr_array_unref (arr);
+ g_value_take_boxed (value, arr);
break;
}
case PROP_RELAY_INFO: