Fix memory leak 25/233325/1
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 14 May 2020 01:40:22 +0000 (10:40 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Thu, 14 May 2020 01:42:44 +0000 (10:42 +0900)
commit4f73703640b6d1622a2b2ed5985a5c5a3f86b80f
treeaeacb39e1c28d0589a6d1284e147e2a4845fd009
parent819b538702e2e049cb67012168239a38f1d9127e
Fix memory leak

-The g_variant_builder_new() function's return value
 should be freed by g_variant_builder_unref() when it is no longer needeed

-Release the memory allocated by g_malloc

Change-Id: I56e45cef7b2ccadc700b3af71b40a33e670e36c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
installer/pkgmgr_installer.c