From 0469388b73f133e839ebe9689b433a84c638b68e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 7 Mar 2012 12:41:21 +0100 Subject: [PATCH] SF Bug Tracker id 3498439 - Memory leak in removeServiceTable Submitted: Fabrice Fontaine ( ffontaine ) - 2012-03-07 02:35:46 PST UDN is not freed. --- ChangeLog | 8 ++++++++ upnp/src/genlib/service_table/service_table.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0671f01..cb4e2b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,14 @@ Version 1.6.16 ******************************************************************************* +2012-03-07 Fabrice Fontaine + + SF Bug Tracker id 3498439 - Memory leak in removeServiceTable + + Submitted: Fabrice Fontaine ( ffontaine ) - 2012-03-07 02:35:46 PST + + UDN is not freed. + 2012-03-07 Fabrice Fontaine SF Bug Tracker id 3498436 - Memory leak in Parser_processAttributeName diff --git a/upnp/src/genlib/service_table/service_table.c b/upnp/src/genlib/service_table/service_table.c index beb71e2..3add82d 100644 --- a/upnp/src/genlib/service_table/service_table.c +++ b/upnp/src/genlib/service_table/service_table.c @@ -954,6 +954,8 @@ removeServiceTable( IXML_Node * node, freeService( current_service ); current_service = start_search; } + ixmlFreeDOMString( UDN ); + UDN = NULL; } }