[Telepathy-commits] [telepathy-gabble/master] Fix "use after free" from coverity

Alban Crequy alban.crequy at collabora.co.uk
Tue Feb 10 01:03:34 PST 2009


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

diff --git a/src/olpc-view.c b/src/olpc-view.c
index 5d0d24e..0fe7324 100644
--- a/src/olpc-view.c
+++ b/src/olpc-view.c
@@ -576,6 +576,7 @@ gabble_olpc_view_close_dbus (TpSvcChannel *iface,
         {
           dbus_g_method_return_error (context, error);
           g_error_free (error);
+          return;
         }
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list