]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/applet/prepinclude.cpp
Fixed an OOR related bug that happened when a class has been renamed.
[wxWidgets.git] / contrib / src / applet / prepinclude.cpp
index 74d85e5962818d3dcb73be2defa41e417c66b035..600bd305798bec475f6f40abb9ceb6e87ce3d24e 100644 (file)
@@ -98,11 +98,11 @@ wxString wxIncludePrep::Process(
 #ifdef CHECKED         
                        wxMessageBox(wxString("wxHTML #include error: File not Found ") + fname + wxString("."),"Error",wxICON_ERROR);
 #endif
+            delete file;
             continue;
                        }                       
                                                        
                wxString tmp;
-
        
         do {
                        char tmp2[257];