This patch impacts below files:
- src/pkgmgr-info.c
- parser/pkgmgr_parser.c
- parser/pkgmgr_parser_db.c
Change-Id: I8f2292c11b727c530202523f65a4ca33c31aa3c2
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
if (index(icon, '/') == NULL) {
char* theme = NULL;
- char* iconPath = NULL;
char* icon_with_path = NULL;
char *app_path = NULL;
int len;
privileges_x *tmp14 = NULL;
depth = xmlTextReaderDepth(reader);
- int i =0;
while ((ret = __next_child_element(reader, depth))) {
node = xmlTextReaderConstName(reader);
if (!node) {
static int __delete_subpkg_from_db(manifest_x *mfx)
{
char query[MAX_QUERY_LEN] = { '\0' };
- int ret = -1;
char *error_message = NULL;
snprintf(query, MAX_QUERY_LEN, "select app_id from package_app_info where package='%s'", mfx->package);
retvm_if(handle == NULL, PMINFO_R_EINVAL, "pkginfo handle is NULL\n");
retvm_if(size == NULL, PMINFO_R_EINVAL, "Argument supplied to hold return value is NULL\n");
char *val = NULL;
- char *location = NULL;
pkgmgr_pkginfo_x *info = (pkgmgr_pkginfo_x *)handle;
- location = (char *)info->manifest_info->installlocation;
val = (char *)info->manifest_info->package_size;
if (val) {
*size = atoi(val);