msm: camera: Fix improper ion free in error case
In case of ion import failure, error value is being passed as an
handle to ion_free which causes invalid address access. This patch
fixes improper api calls in error case.
Change-Id: Ic7a70b63cf0ee8f439d859cc941cf6450bce7254
Signed-off-by:
Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Loading
Please register or sign in to comment