memshare: Fix possible memory leak
This patch frees up the dynamically allotted memory
when met with error condition and function return.
CRs-Fixed: 1106180
Change-Id: I01446fbdbb422dcb025ee50929b32f40a5a78681
Signed-off-by:
Manoj Prabhu B <bmanoj@codeaurora.org>
Loading
Please register or sign in to comment