diff -ruN newt-0.52.10-old/newt.c newt-0.52.10/newt.c --- newt-0.52.10-old/newt.c 2010-02-23 20:22:23.000000000 +0000 +++ newt-0.52.10/newt.c 2010-02-23 20:24:25.000000000 +0000 @@ -288,7 +288,7 @@ } if (need_out) { - out = (FriBidiChar *)malloc(sizeof(FriBidiChar)*(len+1)); + out = (FriBidiChar *)calloc(len+1, sizeof(FriBidiChar)); if(!out) { dlclose(handle);