cwAudioBuf.cpp : Fixed bug where main object was memory was not released in destroy().
This commit is contained in:
parent
a82c423725
commit
29945bd3b4
@ -279,6 +279,8 @@ cw::rc_t cw::audio::buf::destroy( handle_t& hRef )
|
|||||||
|
|
||||||
p->devCnt = 0;
|
p->devCnt = 0;
|
||||||
|
|
||||||
|
mem::release( p );
|
||||||
|
|
||||||
return kOkRC;
|
return kOkRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user