Open ShangzhiXu opened 1 year ago
In audio.c, line 114, we will call abuf = nbuf; and then in line 186-188
abuf = nbuf;
cst_free(nbuf); if (abuf != buff) cst_free(abuf);
now that abuf = nbuf, so abuf != buff is true. it will lead to a double free bug here
abuf = nbuf
abuf != buff
nbuf has been assigned to a new allocated memory chunk. Please close this issue.
In audio.c, line 114, we will call
abuf = nbuf;
and then in line 186-188now that
abuf = nbuf
, soabuf != buff
is true. it will lead to a double free bug here