]>
git.ipfire.org Git - thirdparty/strongswan.git/blob - Source/testing/leak_detective_test.c
8d71d9f0f4e84959e7bfa9c23568d464e394d8c2
2 * @file leak_detective_test.h
4 * @brief Tests for the leak_detective_test.
9 * Copyright (C) 2006 Martin Willi
10 * Hochschule fuer Technik Rapperswil
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 #include "leak_detective_test.h"
26 void *mem_a
, *mem_b
, *mem_c
;
45 void recursive(int depth
)
47 void *tiny
= malloc(1);
57 * described in Header-File
59 void test_leak_detective(protected_tester_t
*tester
)