diff options
author | zeromus <zeromus@users.noreply.github.com> | 2022-08-24 04:48:32 +0300 |
---|---|---|
committer | zeromus <zeromus@users.noreply.github.com> | 2022-08-24 04:48:32 +0300 |
commit | 96e570ae445a3a4cd06f95419e35ba530d59f81a (patch) | |
tree | ac6a7e776c8d70060f1100e39f98c8a2d7188b33 | |
parent | 179a5f0ffa41a8b1d09c054ab4f1af10d794dff6 (diff) |
don't doubly memzero new allocations
-rw-r--r-- | src/utils/memory.cpp | 2 |
1 files changed, 0 insertions, 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; } |