summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-03-29 14:29:27 +0100
committerMark Ryan <mark.d.ryan@intel.com>2013-03-29 15:00:02 +0100
commit4133feb06ca8c804d84e1914211e207ee8d40eaa (patch)
tree759b7ac6114b402ffeedcf9bad13cbc224efc982
parent3c3babde23b726ea5f6d6a530ebb41baf98bf577 (diff)
downloaddleyna-server-4133feb06ca8c804d84e1914211e207ee8d40eaa.tar.gz
[Bug Fix] Fix a memory leak in dls_upnp_get_resource
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
-rw-r--r--libdleyna/server/upnp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdleyna/server/upnp.c b/libdleyna/server/upnp.c
index a61ab44..90e54c3 100644
--- a/libdleyna/server/upnp.c
+++ b/libdleyna/server/upnp.c
@@ -580,6 +580,8 @@ void dls_upnp_get_resource(dls_upnp_t *upnp, dls_client_t *client,
dls_device_get_resource(client, task, upnp_filter);
+ g_free(upnp_filter);
+
DLEYNA_LOG_DEBUG("Exit");
}