aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2024-03-22 01:53:18 +0100
committerSilvio <silvio.traversaro@iit.it>2025-04-28 14:49:51 +0200
commitf87cc876be9b450d3491a174b8c673d918ec5daf (patch)
tree6d4b7772976585710d0cdb145e7cf4e43f7300ad /tests
parent8c28ff3b85f87ae9cb645fed9ec2d146b3059e7a (diff)
downloaddlfcn-win32-f87cc876be9b450d3491a174b8c673d918ec5daf.tar.gz
dlfcn-win32-f87cc876be9b450d3491a174b8c673d918ec5daf.tar.bz2
dlfcn-win32-f87cc876be9b450d3491a174b8c673d918ec5daf.zip
Replace CRT's malloc() and free() by WinAPI's LocalAlloc() and LocalFree() in release mode
In debug mode is still used malloc() and free() for as part of memory leak testing done by _CRTDBG_MAP_ALLOC and _CrtDumpMemoryLeaks() in test.c. This change allows to wrap CRT's malloc() via dlsym's RTLD_NEXT. See #112
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions