X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16b0c553987e18e1c28d03ba79111b62981287b0..afa111d52c46c5b35e2b7fdf6e1356460662eb99:/src/msw/settings.cpp diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 84a4ee3348..eec4fea1a9 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -91,8 +91,7 @@ bool wxSystemSettingsModule::OnInit() void wxSystemSettingsModule::OnExit() { - delete gs_fontDefault; - gs_fontDefault = NULL; + wxDELETE(gs_fontDefault); } // ----------------------------------------------------------------------------