Bug 727202 - Wrap malloc and free to use jemalloc in GeckoAppShell.{allocate,free}DirectBuffer. r=blassey

This commit is contained in:
Mike Hommey 2012-02-16 09:02:25 +01:00
parent b1908133d9
commit a3b11d2747

View File

@ -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"