diff options
| author | Pali Rohár <pali.rohar@gmail.com> | 2024-03-22 01:53:18 +0100 |
|---|---|---|
| committer | Silvio <silvio.traversaro@iit.it> | 2025-04-28 14:49:51 +0200 |
| commit | f87cc876be9b450d3491a174b8c673d918ec5daf (patch) | |
| tree | 6d4b7772976585710d0cdb145e7cf4e43f7300ad /tests | |
| parent | 8c28ff3b85f87ae9cb645fed9ec2d146b3059e7a (diff) | |
| download | dlfcn-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
