projects
/
profile
/
mobile
/
apps
/
native
/
gallery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df4a7fd
)
[TSAM-11526] Added NULL check
60/106560/1
author
Rahul Dadhich
<r.dadhich@samsung.com>
Wed, 14 Dec 2016 04:01:39 +0000
(09:31 +0530)
committer
bhutani.92
<bhutani.92@samsung.com>
Thu, 22 Dec 2016 05:18:34 +0000
(10:48 +0530)
Change-Id: I77b18fdfcabe221cedf5476b2517f0a2f762a870
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
src/features/gl-albums.c
patch
|
blob
|
history
diff --git
a/src/features/gl-albums.c
b/src/features/gl-albums.c
index
1cee1fe
..
7f67a7c
100644
(file)
--- a/
src/features/gl-albums.c
+++ b/
src/features/gl-albums.c
@@
-314,7
+314,8
@@
static void __gl_albums_create_thumb_cb(media_content_error_e error,
GL_CHECK(user_data);
gl_album_data_s *album_data = (gl_album_data_s *) user_data;
GL_CHECK(album_data->ad);
- gl_appdata *ad = (gl_appdata *) album_data->ad;
+ GL_CHECK(album_data->album);
+ gl_appdata *ad = (gl_appdata *)album_data->ad;
gl_cluster *album = album_data->album;
GL_FREE(album_data);
album->album_data = NULL;