X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4f9297b0eead20a0bfee71df18e0d8f0cbc402fb:/src/common/fs_zip.cpp?ds=inline diff --git a/src/common/fs_zip.cpp b/src/common/fs_zip.cpp index 706cd05352..e78ce297a0 100644 --- a/src/common/fs_zip.cpp +++ b/src/common/fs_zip.cpp @@ -85,12 +85,9 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l GetAnchor(location), wxDateTime(wxFileModificationTime(left))); } - else - { - if (s) - delete s; - return NULL; - } + + delete s; + return NULL; }