From aff2d8453d577020658ce47d06f07864f6194b1d Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 15 Sep 2011 18:40:40 +0100 Subject: MUC: ref properties_being_updated --- src/muc-channel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/muc-channel.c b/src/muc-channel.c index a2fddb18e..409119939 100644 --- a/src/muc-channel.c +++ b/src/muc-channel.c @@ -3084,7 +3084,7 @@ gabble_muc_channel_update_configuration_async ( request_config_form_reply_cb, result); g_object_unref (stanza); - priv->properties_being_updated = validated_properties; + priv->properties_being_updated = g_hash_table_ref (validated_properties); } gboolean @@ -3352,7 +3352,7 @@ OUT: g_simple_async_result_set_from_error (update_result, error); g_simple_async_result_complete (update_result); g_object_unref (update_result); - priv->properties_being_updated = NULL; + tp_clear_pointer (&priv->properties_being_updated, g_hash_table_unref); g_clear_error (&error); } @@ -3381,7 +3381,7 @@ request_config_form_submit_reply_cb ( } g_simple_async_result_complete (update_result); - priv->properties_being_updated = NULL; + tp_clear_pointer (&priv->properties_being_updated, g_hash_table_unref); /* Get the properties into a consistent state. */ room_properties_update (chan); -- cgit v1.2.3