[telepathy-gabble/master] gabble_connection_set_property: free previous fallback_socks5_proxies if any
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Jul 22 02:54:38 PDT 2009
---
src/connection.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 02428aa..edd746d 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -518,6 +518,8 @@ gabble_connection_set_property (GObject *object,
priv->fallback_stun_port = g_value_get_uint (value);
break;
case PROP_FALLBACK_SOCKS5_PROXIES:
+ if (priv->fallback_socks5_proxies != NULL)
+ g_strfreev (priv->fallback_socks5_proxies);
priv->fallback_socks5_proxies = g_value_dup_boxed (value);
break;
case PROP_KEEPALIVE_INTERVAL:
--
1.5.6.5
More information about the telepathy-commits
mailing list