it should be freed by pkgmgrinfo_appinfo_destroy_appinfo, if the API header file guide is correct.