[telepathy-gabble/telepathy-gabble-0.8] set_own_status_cb(): don't return without freeing resource
Dafydd Harries
dafydd.harries at collabora.co.uk
Wed Sep 2 10:31:44 PDT 2009
---
src/conn-presence.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/conn-presence.c b/src/conn-presence.c
index 96ff72f..2ea118f 100644
--- a/src/conn-presence.c
+++ b/src/conn-presence.c
@@ -207,7 +207,8 @@ set_own_status_cb (GObject *obj,
g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
"Status '%s' can not be requested in this connection",
gabble_statuses[i].name);
- return FALSE;
+ retval = FALSE;
+ goto OUT;
}
if (args != NULL)
--
1.5.6.5
More information about the telepathy-commits
mailing list