Elm_Object_Item *gridItem = NULL;
for (; (nIndex < nMaxIndex) && (nIndex < nVideoListSize) && (k <= numberOfItemsOnParticularDate) ; nIndex++) {
item = eina_list_nth(timeline_d->data_list, nIndex);
+ if (!item) {
+ continue;
+ }
gridItem =
elm_gengrid_item_append(pGengrid, gic, item, __gl_timeline_thumbs_sel_cb, timeline_d);
elm_gengrid_item_select_mode_set(gridItem,
char *text = NULL;
for (i = 0; i < item_cnt; i++) {
item = eina_list_nth(list, i);
+ if (!item) {
+ continue;
+ }
number_of_items_on_particular_date = _get_count_of_items_on_same_date(item, list, &text, i + 1);
items_per_row = _gl_time_get_number_of_items_per_row(timeline_d->ad);
Elm_Object_Item *it = elm_gengrid_first_item_get(grid);
if (it) {
gl_media_s *item = (gl_media_s *)elm_object_item_data_get(it);
+ GL_CHECK(item);
char *text1 = NULL;
char *text2 = NULL;
struct tm t1;
for (i = 0; i < count; i++) {
gitem = eina_list_nth(ad->tlinfo->sel_d->sel_list, i);
+ if (!gitem) {
+ continue;
+ }
EINA_LIST_FOREACH(ad->tlinfo->data_list, l, item) {
if (!item) {
continue;
media_info_h media_h = NULL;
media_content_storage_e storage_type = 0;
int ret = -1;
+ char *path = NULL;
ret = media_info_get_media_from_db(uuid, &media_h);
if (ret != MEDIA_CONTENT_ERROR_NONE || media_h == NULL) {
gl_dbgE("Get storage type failed!");
goto DEL_MEDIA_BY_ID_FAILED;
}
- char *path = NULL;
ret = media_info_get_file_path(media_h, &path);
if (ret != MEDIA_CONTENT_ERROR_NONE) {
gl_dbgE("Get media file path failed!");