msm: camera: Fix memleak and invalid access
Memory needs to be released in error case and
return EINVAL in cases of input args invalid
to avoid invalid access.
CRs-Fixed: 1034804
Change-Id: Iab0d7dad8eee672976555c73a58d96d95a468b7b
Signed-off-by:
Hariram Purushothaman <hariramp@codeaurora.org>
Loading
Please register or sign in to comment