mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-11 14:01:48 +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
13 lines
235 B
C
13 lines
235 B
C
#include <stdlib.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
char *pointer1 = 0;
|
|
|
|
pointer1 = malloc(64); /* Line 7 */
|
|
pointer1 = malloc(32); /* Leak report Line 8 */
|
|
pointer1 = NULL; /* Leak report Line 9 */
|
|
|
|
return 0;
|
|
}
|