diff options
author | Chris Robinson <[email protected]> | 2018-11-02 18:48:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-02 18:48:08 -0700 |
commit | 5482efc9214d180e1f67fc528f593098ad20a678 (patch) | |
tree | 8b5026cc349b46444019fe215fc8b01bf793582f /Alc/effects | |
parent | a7dcc1c6d107e5c5401151c50c89e137f2bb0c0b (diff) |
Make the polymorphic allocators allocate cleared memory
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/null.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c index 6eaa001f..82ea5d26 100644 --- a/Alc/effects/null.c +++ b/Alc/effects/null.c @@ -73,7 +73,7 @@ static ALvoid ALnullState_process(ALnullState* UNUSED(state), ALsizei UNUSED(sam */ static void *ALnullState_New(size_t size) { - return al_malloc(16, size); + return al_calloc(16, size); } /* This frees the memory used by the object, after it has been destructed. |