X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..a2abe5f08113b25ce20c1710c7361d27a5cb12eb:/src/msw/fdrepdlg.cpp?ds=inline diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 78b7f27dc2..ac23bf1d95 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -443,8 +443,7 @@ bool wxFindReplaceDialog::Show(bool show) wxLogError(_("Failed to create the standard find/replace dialog (error code %d)"), ::CommDlgExtendedError()); - delete m_impl; - m_impl = NULL; + wxDELETE(m_impl); return false; }