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.9 by ayin, Wed Oct 31 09:55:24 2007 UTC

92 92
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}
105 104
106 105

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines