diff --git a/src/gtk/webview_webkit.cpp b/src/gtk/webview_webkit.cpp index e36b324f5c..a5b0a526f0 100644 --- a/src/gtk/webview_webkit.cpp +++ b/src/gtk/webview_webkit.cpp @@ -444,6 +444,7 @@ bool wxWebViewWebKit::Create(wxWindow *parent, long style, const wxString& name) { + m_web_view = NULL; m_busy = false; m_guard = false; m_creating = false; diff --git a/src/gtk/webview_webkit2.cpp b/src/gtk/webview_webkit2.cpp index 0d3288006f..dcc60c37ef 100644 --- a/src/gtk/webview_webkit2.cpp +++ b/src/gtk/webview_webkit2.cpp @@ -490,6 +490,9 @@ bool wxWebViewWebKit::Create(wxWindow *parent, long style, const wxString& name) { + m_web_view = NULL; + m_dbusServer = NULL; + m_extension = NULL; m_busy = false; m_guard = false; m_creating = false;