asoc: msm: Fix zero size pointer issue

APPS crashes randomly due to invalid memory allocation
in q6asm_audio_client_buf_free_contiguous.
Added check to return error if memory allocation size is 0.

CRs-Fixed: 2308501
Change-Id: Ibc15fd6668a1abaeccdd400b42fdae8ff5093f9f
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
1 file changed
tree: 38e8190c796267a6f2917f5271923915480484c4
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE