summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-glib/connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c
index faf243d5..d4debb2f 100644
--- a/telepathy-glib/connection.c
+++ b/telepathy-glib/connection.c
@@ -1018,6 +1018,10 @@ _tp_connection_extract_properties (TpConnection *self,
if (!sufficient || *self_handle == 0)
return FALSE;
}
+ else
+ {
+ *self_handle = 0;
+ }
return TRUE;
}