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:
016c4f2
)
Fix memory leak detected by static analysis tool
00/215400/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 8 Oct 2019 01:59:53 +0000
(10:59 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 8 Oct 2019 01:59:53 +0000
(10:59 +0900)
Change-Id: I6d2e34c696e47177f2ff67cbdb4784812e05bfba
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
provider/sticker_provider.c
patch
|
blob
|
history
diff --git
a/provider/sticker_provider.c
b/provider/sticker_provider.c
index
474c6a9
..
3761d6a
100644
(file)
--- a/
provider/sticker_provider.c
+++ b/
provider/sticker_provider.c
@@
-198,7
+198,8
@@
EXPORT_API int sticker_provider_insert_data_by_json_file(sticker_provider_h prov
ret = sticker_dbus_insert_sticker_info_by_json(provider_handle->gdbus_connection, app_id, file_path);
if (ret != STICKER_ERROR_NONE) {
LOGE("Failed to load json file : %d", ret);
- return STICKER_ERROR_OPERATION_FAILED;
+ ret = STICKER_ERROR_OPERATION_FAILED;
+ goto cleanup;
}
provider_handle->insert_finished_cb = callback;