From 36183141c6391e4fa5326c9559bd24a3ce62a01f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 14:10:58 +0000 Subject: [PATCH] fixed double free crash introduced by last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/aboutdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/aboutdlg.cpp b/src/gtk/aboutdlg.cpp index 16fb5d14fa..9c00eb3f57 100644 --- a/src/gtk/aboutdlg.cpp +++ b/src/gtk/aboutdlg.cpp @@ -37,7 +37,7 @@ class GtkStr : public wxGtkString { public: GtkStr(const wxString& s) - : wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).data())) + : wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).release())) { } }; -- 2.45.2