more fbsd4 tweaks: Release 1.4.2

This commit is contained in:
dockes
2006-05-02 09:49:06 +00:00
parent 56bbd19389
commit 197514bbbf
3 changed files with 16 additions and 6 deletions
+2 -1
View File
@@ -13221,8 +13221,9 @@ int unacmaybefold_string_utf16(const char* in, size_t in_length,
* is not valid any more. We have to do the freeing and zero out *outp
*/
if(out_length + ((l + 1) * 2) > out_size) {
char *saved;
out_size += ((l + 1) * 2) + 1024;
char *saved = out;
saved = out;
out = realloc(out, out_size);
if(out == 0) {
if(debug_level >= UNAC_DEBUG_LOW)