remove redundant operation 27/101527/2
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Thu, 1 Dec 2016 10:14:04 +0000 (11:14 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 2 Dec 2016 14:21:23 +0000 (06:21 -0800)
Change-Id: I238400c084aa231a03fe483a8c067c48521ce309

src/list.c

index c9780ce..70b1478 100644 (file)
@@ -45,7 +45,6 @@ static void _pkglist_unretrieve_item(list_type_default_s *default_info)
        default_info->appid = NULL;
 
        free(default_info);
-       default_info = NULL;
 }
 
 static list_type_default_s *_pkglist_item_create(app_info_h app_info)
@@ -206,6 +205,4 @@ extern void list_destroy(Eina_List *pkg_list)
                }
                _pkglist_unretrieve_item(default_info);
        }
-
-       pkg_list = NULL;
 }