diff --git a/src/common/init.cpp b/src/common/init.cpp index 49e211f064..934ba275d2 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -282,6 +282,7 @@ static bool DoCommonPostInit() wxLogWarning("The event class '%s' does not correctly implement Clone()!", ci->GetClassName()); + delete cloned; delete test; } #endif