ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtutil.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtutil.C (file contents):
Revision 1.7 by root, Mon Feb 20 22:42:01 2006 UTC vs.
Revision 1.8 by ayin, Mon Aug 27 21:30:50 2007 UTC

93void * 93void *
94rxvt_temp_buf (int len) 94rxvt_temp_buf (int len)
95{ 95{
96 if (len > temp_len) 96 if (len > temp_len)
97 { 97 {
98 free (temp_buf);
99 temp_buf = malloc (len); 98 temp_buf = realloc (temp_buf, len);
100 temp_len = len; 99 temp_len = len;
101 } 100 }
102 101
103 return temp_buf; 102 return temp_buf;
104} 103}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines