Memory leak in wxHtmlHelpWindow

Vadim Zeitlin vadim at wxwidgets.org
Tue Dec 11 15:00:47 PST 2007


On Wed, 05 Dec 2007 17:48:49 +0000 Leslie Newell <lesnewell at fmail.co.uk> wrote:

LN> I am not sure of the correct method of posting patches but I found a 
LN> memory leak in wxHtmlHelpWindow in V2.8.6. It only shows up if you do 
LN> not show contents in the window. The contents image list is created but 
LN> never deleted.
LN> 
LN> I have attached a patch for src/html/helpwnd.cpp which solves the problem.

 Applied to both 2,8 branch and trunk, thank you! Just one small request
for the future: could you please make unified patches (diff -u)? They're
much more readable.

 Thanks in advance!
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list