[Telepathy-commits] [telepathy-salut/master] file-transfer-channel: g_value_unset out_address

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 14 03:21:17 PST 2008


---
 src/salut-file-transfer-channel.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/salut-file-transfer-channel.c b/src/salut-file-transfer-channel.c
index 94282c7..d674fc4 100644
--- a/src/salut-file-transfer-channel.c
+++ b/src/salut-file-transfer-channel.c
@@ -1238,6 +1238,8 @@ salut_file_transfer_channel_accept_file (SalutSvcChannelTypeFileTransfer *iface,
 
   salut_file_transfer_channel_set_state (iface, SALUT_FILE_TRANSFER_STATE_OPEN,
       SALUT_FILE_TRANSFER_STATE_CHANGE_REASON_NONE);
+
+  g_value_unset (&out_address);
 }
 
 /**
@@ -1309,6 +1311,8 @@ salut_file_transfer_channel_provide_file (
 
   salut_svc_channel_type_file_transfer_return_from_provide_file (context,
       &out_address);
+
+  g_value_unset (&out_address);
 }
 
 static void
-- 
1.5.6.5




More information about the Telepathy-commits mailing list