[Telepathy-commits] [telepathy-gabble/master] Fix a leak in gabble_connection_set_self_capabilities(). Thanks wjt who spotted it.

Alban Crequy alban.crequy at collabora.co.uk
Fri Dec 5 09:42:37 PST 2008


---
 src/connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index a9b191a..e39d50c 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -2384,6 +2384,7 @@ gabble_connection_set_self_capabilities (
 
   if (!_gabble_connection_signal_own_presence (self, &error))
     {
+      gabble_presence_cache_free_cache_entry (save_caps);
       dbus_g_method_return_error (context, error);
       return;
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list