Commit 490de74a authored by Martin's avatar Martin

Fix memory leak in Glib::ustring::make_valid()

parent 0e8e956d
......@@ -1221,7 +1221,7 @@ ustring::validate(ustring::const_iterator& first_invalid) const
ustring::make_valid() const
return ustring(g_utf8_make_valid(, string_.size()));
return convert_return_gchar_ptr_to_ustring(g_utf8_make_valid(, string_.size()));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment