Files
ftmemsim-valgrind/exp-omega/tests/scope5.c
Julian Seward 5b02b70476 Add Bryan Meredith's Omega tool as an experimental tool. Maintainer
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
2007-11-09 12:30:36 +00:00

23 lines
282 B
C

#include <stdlib.h>
static void func1(void)
{
char *pointer = 0;
pointer = malloc(64); /* Line 7 */
return;
} /* Leak report here Line 10 */
int main(int argc, char *argv[])
{
int i = 0;
for(i = 0; i < 5; i++)
{
func1();
}
return 0;
}