msm: wfd: Handle error cases properly when allocating input buffers

Avoid freeing input buffer context when recon buffer allocation fails.
On other failures such as QUEUE_BUFFER fail, clean up and free the
allocated buffers.

Change-Id: I12f2b76c1f6f78e4db30b3ce9cb781a20fcbdc16
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
CRs-Fixed: 415787
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
1 file changed