From d7cc9b912b71b17d6cd1bb9726673b79a4c0173a Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Sun, 18 Nov 2018 00:38:31 -0800 Subject: Use new/delete for ALCcontext objects --- Alc/alcontext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Alc/alcontext.h') diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 16a5e909..f04607a9 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -9,6 +9,7 @@ #include "atomic.h" #include "vector.h" #include "threads.h" +#include "almalloc.h" #include "alListener.h" @@ -113,6 +114,8 @@ struct ALCcontext_struct { ATOMIC(ALCcontext*) next; ALlistener Listener; + + DEF_NEWDEL(ALCcontext) }; ALCcontext *GetContextRef(void); -- cgit v1.2.3