msm: ais: isp: Handling buffer use after getting it freed
In the code, start_fetch can try to access the buffer
pointer variable after free, as the same pointer can
can be freed at RELEASE_BUF call too at the same time.
Hence fixing this race condition.
Change-Id: I05825fb3423f95bc251e79416de50dc32cf086dc
Signed-off-by:
Suprith Malligere Shankaregowda <supgow@codeaurora.org>
Loading
Please register or sign in to comment