I've applied this patch, along with fixing the original resources.c's indentation (re-indenting patches are annoying, but this patch touched enough of resources.c files that it seemed like a golden opportunity.)
- First patch to memory allocation routines Peter Gibbs
- Re: First patch to memory allocation routines Dan Sugalski
- Re: First patch to memory allocation routines Peter Gibbs
- Re: First patch to memory allocation routines Steve Fink
- Re: First patch to memory allocation routines Mike Lambert
- Re: First patch to memory allocation routines Steve Fink
- Re: First patch to memory allocation routines Steve Fink
- Re: First patch to memory allocation routine... Piers Cawley
- Re: First patch to memory allocation routine... Steve Fink
- Re: [APPLIED] Re: First patch to memory allocation routi... Steve Fink