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 /OpenAL32/alSoundfont.c | |
parent | 5dc3f3626d63361f4cefc829bce9aedb3c5774cf (diff) |
Free thunk entry in the object destructor
Diffstat (limited to 'OpenAL32/alSoundfont.c')
-rw-r--r-- | OpenAL32/alSoundfont.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenAL32/alSoundfont.c b/OpenAL32/alSoundfont.c index 33b3ce3e..12f89094 100644 --- a/OpenAL32/alSoundfont.c +++ b/OpenAL32/alSoundfont.c @@ -45,7 +45,6 @@ AL_API void AL_APIENTRY alGenSoundfontsSOFT(ALsizei n, ALuint *ids) err = InsertUIntMapEntry(&device->SfontMap, sfont->id, sfont); if(err != AL_NO_ERROR) { - FreeThunkEntry(sfont->id); ALsoundfont_Destruct(sfont); memset(sfont, 0, sizeof(ALsoundfont)); free(sfont); @@ -91,7 +90,6 @@ AL_API ALvoid AL_APIENTRY alDeleteSoundfontsSOFT(ALsizei n, const ALuint *ids) { if((sfont=RemoveSfont(device, ids[i])) == NULL) continue; - FreeThunkEntry(sfont->id); ALsoundfont_Destruct(sfont); @@ -222,7 +220,6 @@ void ReleaseALSoundfonts(ALCdevice *device) ALsoundfont *temp = device->SfontMap.array[i].value; device->SfontMap.array[i].value = NULL; - FreeThunkEntry(temp->id); ALsoundfont_Destruct(temp); memset(temp, 0, sizeof(*temp)); |