projects
/
platform
/
core
/
multimedia
/
libmedia-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f0f1c
)
Svace Issue fix
29/182329/1
accepted/tizen/unified/20180625.141524
submit/tizen/20180622.070254
author
hj kim
<backto.kim@samsung.com>
Fri, 22 Jun 2018 05:15:06 +0000
(14:15 +0900)
committer
hj kim
<backto.kim@samsung.com>
Fri, 22 Jun 2018 05:15:06 +0000
(14:15 +0900)
Change-Id: I2011e1f2c42c422dd4bfffbf7e733c6a91dcb5ed
src/common/media-svc-media.c
patch
|
blob
|
history
diff --git
a/src/common/media-svc-media.c
b/src/common/media-svc-media.c
index
dd0db90
..
57278f7
100755
(executable)
--- a/
src/common/media-svc-media.c
+++ b/
src/common/media-svc-media.c
@@
-488,7
+488,7
@@
int _media_svc_delete_invalid_items(sqlite3 *handle, const char *storage_id, med
ret = _media_svc_sql_query(sql, uid);
SQLITE3_SAFE_FREE(sql);
if (ret != MS_MEDIA_ERR_NONE) {
- while (
thumb_list->len != 0
) {
+ while (
(thumb_list != NULL) && (thumb_list->len != 0)
) {
char *thumb_path = NULL;
thumb_path = g_array_index(thumb_list , char*, 0);
g_array_remove_index(thumb_list, 0);