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

Comparing rxvt-unicode/src/emman.c (file contents):
Revision 1.1 by root, Thu Jun 28 15:19:15 2012 UTC vs.
Revision 1.2 by root, Fri Jun 29 22:10:09 2012 UTC

124 124
125void 125void
126chunk_free (void *ptr, size_t size) 126chunk_free (void *ptr, size_t size)
127{ 127{
128 #if USE_MMAP 128 #if USE_MMAP
129 /* we assume the OS never mmaps at address 0 */
130 if (ptr)
129 munmap (ptr, size); 131 munmap (ptr, size);
130 #else 132 #else
131 return free (ptr); 133 return free (ptr);
132 #endif 134 #endif
133} 135}
134 136

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines