projects
/
platform
/
core
/
uifw
/
download-fonts-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e158d2
)
Fix memory leak
08/258608/1
accepted/tizen_6.5_unified
accepted/tizen_7.0_unified
accepted/tizen_7.0_unified_hotfix
accepted/tizen_8.0_unified
accepted/tizen_9.0_unified
accepted/tizen_unified
tizen
tizen_6.5
tizen_7.0
tizen_7.0_hotfix
tizen_8.0
tizen_9.0
accepted/tizen/6.5/unified/20211028.114743
accepted/tizen/7.0/unified/20221110.060401
accepted/tizen/7.0/unified/hotfix/20221116.110007
accepted/tizen/8.0/unified/20231005.094042
accepted/tizen/9.0/unified/20241030.232116
accepted/tizen/unified/20210803.084906
submit/tizen/20210803.054213
submit/tizen_6.5/20211028.163101
tizen_6.5.m2_release
tizen_7.0_m2_release
tizen_8.0_m2_release
tizen_9.0_m2_release
author
Bowon Ryu
<bowon.ryu@samsung.com>
Fri, 21 May 2021 05:45:25 +0000
(14:45 +0900)
committer
Bowon Ryu
<bowon.ryu@samsung.com>
Fri, 21 May 2021 05:45:38 +0000
(14:45 +0900)
frees memory with goto FAIL; and returns -1
Change-Id: If8fd93a62d0ef4c2775249d804db0f0a54df6dfd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
pkgmgr_font/src/font_service_register.c
patch
|
blob
|
history
diff --git
a/pkgmgr_font/src/font_service_register.c
b/pkgmgr_font/src/font_service_register.c
index 1dd1173216b1bc9b852dbf7bbe0b3d293bd7194d..9fd1e59477c9bd369ed4f4378f98e8d5c9c6702a 100755
(executable)
--- a/
pkgmgr_font/src/font_service_register.c
+++ b/
pkgmgr_font/src/font_service_register.c
@@
-600,7
+600,7
@@
int COMMON_PKGMGR_PLUGIN_INSTALL(const char *pkgid, const char *appid, GList *li
if (make_dir(dest_path)<0)
{
DEBUG_ERROR("make current directory is failed \n");
-
return -1
;
+
goto FAIL
;
}
ret = do_install(dest_path,appid, app_root_path, handle);