fix memory leak while testing for correct Clone() implementation (closes #10304)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2008-12-29 15:16:37 +00:00
parent d181e877b0
commit f7ae43f080

View File

@ -282,6 +282,7 @@ static bool DoCommonPostInit()
wxLogWarning("The event class '%s' does not correctly implement Clone()!",
ci->GetClassName());
delete cloned;
delete test;
}
#endif