From 89fea7921b129db822b20f59fb89896a9707952d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sat, 3 May 2014 09:42:19 +0000 Subject: [PATCH] small FASTDEBUG optimization --- src/lib/util/corealloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/corealloc.c b/src/lib/util/corealloc.c index a251aaa9913..c1bc9185def 100644 --- a/src/lib/util/corealloc.c +++ b/src/lib/util/corealloc.c @@ -116,7 +116,7 @@ void *malloc_file_line(size_t size, const char *file, int line, bool array, bool memset(result, 0, size); else { -#if !__has_feature(memory_sanitizer) && defined(INITIALIZE_ALLOCATED_MEMORY) +#if !__has_feature(memory_sanitizer) && defined(INITIALIZE_ALLOCATED_MEMORY) && !defined(MAME_DEBUG_FAST) memset(result, 0xdd, size); #endif }