aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/null.c2
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.