mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +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
20 lines
278 B
C
20 lines
278 B
C
#include <stdlib.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
char *pointer = 0;
|
|
|
|
pointer = malloc(64); /* Line 7 */
|
|
|
|
do
|
|
{
|
|
char *pointer2 = 0;
|
|
|
|
pointer2 = malloc(32); /* Line 13 */
|
|
|
|
} while (0);
|
|
|
|
|
|
return 0;
|
|
} /* Leak report Line 19 */
|