mirror of https://github.com/asterisk/asterisk
When using the speech recognition module, crashes can occur sporadically due to a "double free or corruption (out)" error. Now, in the section where the audio stream is being captured in a loop, each time after releasing fr, it is set to NULL to prevent repeated deallocation. Fixes #772pull/931/head
parent
befe46162b
commit
c0d3fbb5ae
Loading…
Reference in new issue