Author: gedmurphy
Date: Fri Aug 4 00:32:10 2006
New Revision: 23439
URL:
http://svn.reactos.org/svn/reactos?rev=23439&view=rev
Log:
doh, rushed code leads to leaked resources.
thanks lkjasa for pointing it out.
Modified:
trunk/reactos/dll/cpl/ncpa/tcpip_properties.c
Modified: trunk/reactos/dll/cpl/ncpa/tcpip_properties.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/ncpa/tcpip_propert…
==============================================================================
--- trunk/reactos/dll/cpl/ncpa/tcpip_properties.c (original)
+++ trunk/reactos/dll/cpl/ncpa/tcpip_properties.c Fri Aug 4 00:32:10 2006
@@ -516,5 +516,8 @@
ShowError(hParent, IDS_CANNOT_CREATE_PROPSHEET);
}
+ if (tpszCaption != NULL)
+ HeapFree(GetProcessHeap(), 0, tpszCaption);
+
return;
}