diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-18 11:15:07 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-18 11:20:27 +0100 |
commit | dcbd9af2c8250de294f537c3d055b13970b59caa (patch) | |
tree | c50443f197e3dc08fee41e1b651e365802f39648 | |
parent | 7c60cb8249f5eb975969d09c4ec23f4afb69e309 (diff) | |
download | telepathy-glib-dcbd9af2c8250de294f537c3d055b13970b59caa.tar.gz |
connection: set the self handle to something sane instead of leaving uninitialized
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | telepathy-glib/connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c index f11f198a1..aeb738381 100644 --- a/telepathy-glib/connection.c +++ b/telepathy-glib/connection.c @@ -1006,6 +1006,10 @@ _tp_connection_extract_properties (TpConnection *self, if (!sufficient || *self_handle == 0) return FALSE; } + else + { + *self_handle = 0; + } return TRUE; } |