Database
spencer.lst
Associated article: Debugging Memory Allocation Errors
Tags: Database Tools
_DEBUGGING MEMORY ALLOCATION ERRORS_
by Lawerence D. Spencer
[LISTING ONE]
/* bad.c -- Mistakes in memory allocation */
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
main()
{
char *allocated_but_never_freed;
char *this_...


