X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/685aded8fd11ec661faa5d90eeadf3089385a0bd..cb7acf9cc78c309026bed1038631f2663cd90bda:/demos/poem/wxpoem.cpp?ds=sidebyside diff --git a/demos/poem/wxpoem.cpp b/demos/poem/wxpoem.cpp index 23bc9b7eb5..3866bdef48 100644 --- a/demos/poem/wxpoem.cpp +++ b/demos/poem/wxpoem.cpp @@ -680,9 +680,13 @@ int MyApp::OnExit() delete Corner3; delete Corner4; + // Causes crash since they're deleted by the global font list +#if 0 delete NormalFont; delete BoldFont; delete ItalicFont; +#endif + delete[] poem_buffer; if (search_string) delete[] search_string;