mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 05:37:06 +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
12 lines
232 B
C
12 lines
232 B
C
#include <stdlib.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
char *pointer = 0;
|
|
|
|
pointer = malloc(64); /* Line 7 */
|
|
pointer++; /* Creates shadow to track the block. */
|
|
|
|
return 0;
|
|
} /* Leak report Line 11. */
|