Fix the coverity issue (resource leak) 07/258707/1
authorAnuj Jain <anuj01.jain@samsung.com>
Mon, 24 May 2021 08:46:43 +0000 (14:16 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 24 May 2021 12:47:22 +0000 (18:17 +0530)
commit7fcfe20611c63e2e427f9ba0cbf58c45b2e38126
treecf9b41d6e0187830ceda8173500262299718cf0c
parent1fe6e658d4ed2f6d288d6280775297494259a0b0
Fix the coverity issue (resource leak)

Variable str must be free after its usage.
This change fixes the same.

Change-Id: I880aa48cbf31d13a27a47b7fc08807a56af18fd3
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
src/adapter.c