From 26a42afe845200e1461e4e41090e2665a1706dba Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Tue, 30 Aug 2011 17:07:51 -0400 Subject: [PATCH] Bug 682313: Fix jemalloc to export _strdup and _wcsdup so that we don't have an allocator mismatch. r=jimm --- memory/jemalloc/jemalloc.def | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memory/jemalloc/jemalloc.def b/memory/jemalloc/jemalloc.def index ea2aa2f1d617..9193d2df289d 100644 --- a/memory/jemalloc/jemalloc.def +++ b/memory/jemalloc/jemalloc.def @@ -46,7 +46,9 @@ EXPORTS posix_memalign=je_posix_memalign strndup=je_strndup strdup=je_strdup + _strdup=je_strdup wcsdup=je_wcsdup + _wcsdup=je_wcsdup malloc_usable_size=je_malloc_usable_size jemalloc_stats ; A hack to work around the CRT (see giant comment in Makefile.in)