aboutsummaryrefslogtreecommitdiff
path: root/dlfcn.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-03-15 16:09:44 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-15 16:11:05 -0700
commitc421b7010d915a36bfc90c4f0462095ea840bb7a (patch)
tree6e0bc07f6f6b8f180958b4ad6bdac6465e6a27ef /dlfcn.c
parent77a6dfd8c588a64300ea380bf32256da3b93f1ef (diff)
downloaddlfcn-win32-c421b7010d915a36bfc90c4f0462095ea840bb7a.tar.gz
dlfcn-win32-c421b7010d915a36bfc90c4f0462095ea840bb7a.tar.bz2
dlfcn-win32-c421b7010d915a36bfc90c4f0462095ea840bb7a.zip
Check for memory leak when _DEBUG is defined
Diffstat (limited to 'dlfcn.c')
-rw-r--r--dlfcn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dlfcn.c b/dlfcn.c
index 75f5c81..add1f4f 100644
--- a/dlfcn.c
+++ b/dlfcn.c
@@ -17,6 +17,11 @@
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */ 18 */
19 19
20#ifdef _DEBUG
21#define _CRTDBG_MAP_ALLOC
22#include <stdlib.h>
23#include <crtdbg.h>
24#endif
20#include <windows.h> 25#include <windows.h>
21#include <stdio.h> 26#include <stdio.h>
22 27