Skip to content
Commit 283d9304 authored by Shailendra Verma's avatar Shailendra Verma Committed by Greg Kroah-Hartman
Browse files

Staging:Android:ion - Fix for memory leak if ion device registration get failed.



Fix to avoid possible memory leak if the ion device registration
get failed.Free the allocated device creation memory before return
in case the ion device registration get failed.

Signed-off-by: default avatarShailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ad5b0d07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment