[TSAM-1016] duplicating uuid. 73/58873/1 accepted/tizen/mobile/20160205.012044 submit/tizen_mobile/20160204.130433
authorRahul Dadhich <r.dadhich@samsung.com>
Thu, 4 Feb 2016 09:12:06 +0000 (14:42 +0530)
committerRahul Dadhich <r.dadhich@samsung.com>
Thu, 4 Feb 2016 09:12:06 +0000 (14:42 +0530)
Change-Id: I3d2709466a8e75b857f6ad32596a43ddcd5220bd
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
src/features/gl-albums.c

index 4f431f7..d94bcfd 100644 (file)
@@ -1409,7 +1409,7 @@ int gl_albums_open_album(gl_cluster *album)
        }
        char *i18n_name = _gl_get_i18n_album_name(album->cluster);
        gl_sdbg("Album: %s, UUID: %s", i18n_name, album->cluster->uuid);
-       ad->gridinfo.title = album->cluster->uuid;
+       ad->gridinfo.title = strdup(album->cluster->uuid);
        _gl_albums_set_current(ad, album);
        Eina_List *medias_elist = NULL;
        _gl_data_get_items_album(ad, album, GL_FIRST_VIEW_START_POS,