Dispose of file before throwing exception
1 files changed, 1 insertions(+), 0 deletions(-)

M src/CoreAudioReadStream.cpp
M src/CoreAudioReadStream.cpp +1 -0
@@ 101,6 101,7 @@ CoreAudioReadStream::CoreAudioReadStream
     
     if (m_d->err) {
         m_error = "CoreAudioReadStream: Error in getting basic description: code " + codestr(m_d->err);
+        ExtAudioFileDispose(m_d->file);
         throw FileOperationFailed(m_path, "get basic description", codestr(m_d->err));
     }