[Telepathy-commits] [telepathy-salut/master] Requests: set failed requests' context to NULL before freeing

Will Thompson will.thompson at collabora.co.uk
Thu Oct 23 07:30:38 PDT 2008


---
 src/conn-requests.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/conn-requests.c b/src/conn-requests.c
index c8e7a27..7fbafb4 100644
--- a/src/conn-requests.c
+++ b/src/conn-requests.c
@@ -1027,6 +1027,7 @@ conn_requests_requestotron (SalutConnection *self,
           "Not implemented" };
 
       dbus_g_method_return_error (context, &e);
+      request->context = NULL;
       g_ptr_array_remove (self->channel_requests, request);
       channel_request_free (request);
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list