aboutsummaryrefslogtreecommitdiffstats
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memory.c b/src/memory.c
index 6b502d8..b213694 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -23,4 +23,5 @@
void init_memory(struct Memory *mem)
{
+ memset(mem, 0, sizeof(struct Memory));
}