mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 727202 - Wrap malloc and free to use jemalloc in GeckoAppShell.{allocate,free}DirectBuffer. r=blassey
This commit is contained in:
parent
b1908133d9
commit
a3b11d2747
@ -36,6 +36,9 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include <jni.h>
|
||||
// Wrap malloc and free to use jemalloc
|
||||
#define malloc __wrap_malloc
|
||||
#define free __wrap_free
|
||||
#include <stdlib.h>
|
||||
|
||||
extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user