diff --git a/cwAudioBuf.cpp b/cwAudioBuf.cpp index d8fde8e..d5bf418 100644 --- a/cwAudioBuf.cpp +++ b/cwAudioBuf.cpp @@ -279,6 +279,8 @@ cw::rc_t cw::audio::buf::destroy( handle_t& hRef ) p->devCnt = 0; + mem::release( p ); + return kOkRC; }