projects
/
platform
/
core
/
uifw
/
capi-ui-sticker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49de48f
)
Add missing condition check code
79/230679/1
author
InHong Han
<inhong1.han@samsung.com>
Mon, 13 Apr 2020 10:26:45 +0000
(19:26 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Mon, 13 Apr 2020 10:26:45 +0000
(19:26 +0900)
Change-Id: I736566ac02f1c70b8ae302a93228a236bb3005a9
server/stickerd_data_manager.c
patch
|
blob
|
history
diff --git
a/server/stickerd_data_manager.c
b/server/stickerd_data_manager.c
index
251e9c0
..
d82b2cf
100644
(file)
--- a/
server/stickerd_data_manager.c
+++ b/
server/stickerd_data_manager.c
@@
-767,7
+767,7
@@
int stickerd_insert_sticker_info_by_json(GVariant *parameters, GVariant **reply_
goto free_memory;
sticker_info->thumbnail = _get_string_from_object(info_object, "thumbnail");
- if (sticker_info->thumbnail) {
+ if (sticker_info->thumbnail
&& sticker_info->thumbnail[0] != '\0'
) {
if (_check_file_exist(sticker_info->app_id, sticker_info->thumbnail) == 0) {
sticker_info->thumbnail = _convert_sticker_uri(sticker_info->thumbnail, sticker_info->app_id);
if (!sticker_info->thumbnail)