diff options
author | Chris Robinson <[email protected]> | 2018-11-22 07:54:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 07:54:29 -0800 |
commit | 9c155a57fb37e3869f16e2f6502ee7d95d7d6a75 (patch) | |
tree | 268be0a8db18d013476b6e19dd6d60969a2b1e6c /Alc/alc.cpp | |
parent | ba8c865513d33019962a02e00ab496365de17abf (diff) |
Use unique_ptr for DirectHrtfState
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 10b4c007..42856dbf 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -2418,8 +2418,6 @@ ALCdevice_struct::~ALCdevice_struct() if(HrtfHandle) Hrtf_DecRef(HrtfHandle); HrtfHandle = nullptr; - al_free(mHrtfState); - mHrtfState = nullptr; } |