eina - and follow-on calloc fixup - 0 terminate first calloced string

this follows on from 6dc52db881
This commit is contained in:
Carsten Haitzler 2014-08-13 11:52:59 +09:00
parent 6dc52db881
commit dcc55bbfd4
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ eina_unicode_utf8_to_unicode(const char *utf, int *_len)
{
*uind = eina_unicode_utf8_next_get(utf, &ind);
}
*uind = 0;
return buf;
}