From 96e570ae445a3a4cd06f95419e35ba530d59f81a Mon Sep 17 00:00:00 2001 From: zeromus Date: Tue, 23 Aug 2022 21:48:32 -0400 Subject: [PATCH] don't doubly memzero new allocations --- src/utils/memory.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/memory.cpp b/src/utils/memory.cpp index 066eb89c..c261cbf3 100644 --- a/src/utils/memory.cpp +++ b/src/utils/memory.cpp @@ -47,8 +47,6 @@ static void *_FCEU_malloc(uint32 size) exit(1); } - memset(ret, 0, size); - return ret; }