[farsight2/master] tests: Don't leak strings from GUPnP in rawudp test
Olivier Crête
olivier.crete at collabora.co.uk
Mon Jul 20 18:24:28 PDT 2009
---
common | 2 +-
tests/check/transmitter/rawudp-upnp.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/common b/common
index 227a993..fedaaee 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 227a99369534a60cd1d9c870885edd8c545a8722
+Subproject commit fedaaee6fa5c0006f5b7264732cb4e29584ef100
diff --git a/tests/check/transmitter/rawudp-upnp.c b/tests/check/transmitter/rawudp-upnp.c
index 4021e7d..57170e5 100644
--- a/tests/check/transmitter/rawudp-upnp.c
+++ b/tests/check/transmitter/rawudp-upnp.c
@@ -84,6 +84,11 @@ add_port_mapping_cb (GUPnPService *service,
ts_fail_unless (enabled == TRUE, "enable is not true");
ts_fail_unless (desc != NULL, "no desc");
+ g_free (remote_host);
+ g_free (proto);
+ g_free (internal_client);
+ g_free (desc);
+
gupnp_service_action_return (action);
added_mapping = TRUE;
}
--
1.5.6.5
More information about the farsight-commits
mailing list