ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/malloc.c
(Generate patch)

Comparing ray/src/common/malloc.c (file contents):
Revision 2.10 by greg, Fri Nov 10 17:04:15 1995 UTC vs.
Revision 2.11 by gwlarson, Mon Aug 24 15:31:29 1998 UTC

# Line 303 | Line 303 | register unsigned  n;
303          register int    bucket;
304          register unsigned       bsiz;
305  
306 <        if (n < 1<<FIRSTBUCKET)
306 >        if (n < 1<<FIRSTBUCKET || p == NULL)
307                  return;
308   #ifdef MSTATS
309          b_nfreed += n;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines