--- rxvt-unicode/src/rxvtutil.C 2011/01/03 03:05:47 1.11 +++ rxvt-unicode/src/rxvtutil.C 2011/01/08 10:06:48 1.12 @@ -76,7 +76,8 @@ { if (len > temp_len) { - temp_buf = realloc (temp_buf, len); + free (temp_buf); + temp_buf = malloc (len); temp_len = len; }