diff options
author | Chris Robinson <[email protected]> | 2013-12-20 01:04:38 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-20 01:04:38 -0800 |
commit | ede3c208806af5c1180b72cae0ba4943bd6f0bfd (patch) | |
tree | 42cf2d4f0a862e64a1216c313913ef3e27efbb1c /Alc/midi/base.c | |
parent | 5dc3f3626d63361f4cefc829bce9aedb3c5774cf (diff) |
Free thunk entry in the object destructor
Diffstat (limited to 'Alc/midi/base.c')
-rw-r--r-- | Alc/midi/base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index a5c50504..45136faf 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -11,6 +11,7 @@ #include "alMidi.h" #include "alMain.h" #include "alError.h" +#include "alThunk.h" #include "evtqueue.h" #include "rwlock.h" #include "alu.h" @@ -377,6 +378,7 @@ void ALsfinstrument_Destruct(ALsfinstrument *self) { ALsizei i; + FreeThunkEntry(self->id); self->id = 0; for(i = 0;i < self->NumZones;i++) @@ -405,6 +407,7 @@ void ALsfpreset_Destruct(ALsfpreset *self) { ALsizei i; + FreeThunkEntry(self->id); self->id = 0; for(i = 0;i < self->NumZones;i++) @@ -439,6 +442,7 @@ void ALsoundfont_Destruct(ALsoundfont *self) { ALsizei i; + FreeThunkEntry(self->id); self->id = 0; for(i = 0;i < self->NumPresets;i++) |