mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
is Rich Coe. Also, a minor mod to Makefile.install.am to handle tool names with dashes in. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7112
15 lines
257 B
C
15 lines
257 B
C
#include <stdlib.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
char *pointer1 = 0;
|
|
char *pointer2 = 0;
|
|
|
|
pointer1 = malloc(64); /* Line 8. */
|
|
pointer2 = pointer1;
|
|
pointer1 = NULL;
|
|
pointer2 = NULL; /* Leak report Line 11. */
|
|
|
|
return 0;
|
|
}
|