Re: [gupnp] [PATCH] Free the array allocated by xmlGetNsList()
- From: Sven Neumann <s neumann raumfeld com>
- To: gupnp o-hand com
- Subject: Re: [gupnp] [PATCH] Free the array allocated by xmlGetNsList()
- Date: Wed, 19 May 2010 18:26:35 +0200
Hi,
apart from the memory leak, which is fixed by the patch that I just
submitted, it appears to be somewhat inefficient to parse the list of
namespaces for each object that is added.
So what I suggest is that GUPnPDIDLLiteWriter passes the two needed
namespace references to the GUPnPDIDLLiteObject on object creation
instead of having each object looking them up in the array of
namespaces. Would you accept a patch that does this?
Sven
--
Sven Neumann
Head of Software Development
RAUMFELD GmbH | Reichenberger Str. 124 | 10999 Berlin | Germany
Tel: +49.30.340.60.98.0 | Fax: +49.30.340.60.98.99 | s neumann raumfeld com
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]