[CodeClean] Fix memleak of pkg_info
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Fri, 28 Apr 2023 02:25:47 +0000 (11:25 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 28 Apr 2023 05:05:54 +0000 (14:05 +0900)
commit89501e8026ed02ef0a0d8939383dbc3052f79534
treecf98053b9b1592315ab58a48b1467029bc7709ec
parentf812051ef9567542da0735e59f21dd0705cdd26d
[CodeClean] Fix memleak of pkg_info

- Free pkg_info handle when the callback is returned

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
daemon/pkg-mgr.cc