[Issue#] Prevent 51981
[Problem] memory allocation size error
[Cause] momory allocation size error
[Solution] Size value is fixed
[SCMRequest] N/A
Change-Id: Ie78ee3e75ef1673a0e007cc77e97ddd03ac324c6
LogDebug("pkgmgr_client_check_pkginfo_from_file() is called");
package_manager_pkg_detail_info_t *pkg_detail_info;
pkg_detail_info = (package_manager_pkg_detail_info_t*)malloc(
- sizeof(package_manager_pkg_info_t));
+ sizeof(package_manager_pkg_detail_info_t));
int ret = getWidgetDetailInfoFromPackage(pkg_path, pkg_detail_info);
if (FALSE == ret) {
LogError("Failed to get package detail info ");