]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/webviewarchivehandler.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / webviewarchivehandler.h
index 3654c75b60003e55f3b206b881201add9372263a..40f4ce5195ff8cd8d0849febba58e10f0568a38e 100644 (file)
@@ -20,12 +20,13 @@ class wxFileSystem;
 #include "wx/webview.h"
 
 //Loads from uris such as scheme:///C:/example/example.html or archives such as
-//scheme:///C:/example/example.zip;protocol=zip/example.html 
+//scheme:///C:/example/example.zip;protocol=zip/example.html
 
 class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler
 {
 public:
     wxWebViewArchiveHandler(const wxString& scheme);
+    virtual ~wxWebViewArchiveHandler();
     virtual wxFSFile* GetFile(const wxString &uri);
 private:
     wxFileSystem* m_fileSystem;