[farsight2/master] remove timeouts on answer

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:39 PST 2008


---
 fs-upnp-simple-igd.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fs-upnp-simple-igd.c b/fs-upnp-simple-igd.c
index d6e353f..8baea10 100644
--- a/fs-upnp-simple-igd.c
+++ b/fs-upnp-simple-igd.c
@@ -394,6 +394,10 @@ _service_proxy_got_external_ip_address (GUPnPServiceProxy *proxy,
         error);
   }
   g_clear_error (&error);
+
+  g_source_destroy (act->timeout_source);
+  g_ptr_array_remove_fast (prox->actions, act);
+  g_slice_free (struct Action, act);
 }
 
 static gboolean
-- 
1.5.6.5




More information about the farsight-commits mailing list