fix segv, the new adress is not necessary the same as the old one

SVN revision: 26192
This commit is contained in:
Peter Wehrfritz 2006-09-28 20:44:33 +00:00
parent 006784cbcd
commit b1d7ba8071
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ ecore_txt_convert(const char *enc_from, const char *enc_to, const char *text)
if (errno == E2BIG)
{
new_txt = realloc(new_txt, outalloc + 64);
outp = new_txt + outlen;
outalloc += 64;
outb += 64;
}