Terminate string

This commit is contained in:
Evan Miller 2021-01-21 23:16:33 -05:00
parent 0aa3aeee42
commit 468502bc87

View File

@ -248,6 +248,7 @@ gchar *g_locale_to_utf8(const gchar *opsysstring, size_t len,
*dst++ = (u & 0x7F);
}
}
*dst++ = '\0';
free(utf16);
return utf8;
}