--- libgig/trunk/src/Serialization.cpp 2019/01/27 10:07:48 3454 +++ libgig/trunk/src/Serialization.cpp 2019/02/10 20:25:05 3464 @@ -404,9 +404,11 @@ String DataType::customTypeName(bool demangle) const { if (!demangle) return m_customTypeName; int status; - const char* result = + char* result = abi::__cxa_demangle(m_customTypeName.c_str(), 0, 0, &status); - return (status == 0) ? result : m_customTypeName; + String sResult = result; + free(result); + return (status == 0) ? sResult : m_customTypeName; } // *************** Member ***************