X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..5db8d758b8da4140ba727c51638a69b2700c751d:/src/generic/fontdlgg.cpp?ds=inline diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 40aed1a7dc..0b0ed9a842 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -348,6 +348,7 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event)) { m_fontData.m_fontColour = *col; m_previewer->SetForegroundColour(*col); + delete col; } } m_previewer->Refresh();