X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2db25a1436b8363e4ccf98e3d43eee3a01b9cd7..6f3f9b50aa275243ade3541ecccb95de22cf57a9:/src/common/strconv.cpp diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 0f54c2821f..f2364b7fc3 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -2736,7 +2736,7 @@ void wxCSConv::SetName(const char *charset) { if (charset) { - m_name = strdup(charset); + m_name = wxStrdup(charset); m_deferred = true; } }