projects
/
platform
/
core
/
api
/
base-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5cefc
)
[TNEXT-1095] Revert changes due to memory leak
65/138765/2
author
Lukasz Pik
<lu.pik@partner.samsung.com>
Thu, 13 Jul 2017 12:46:31 +0000
(14:46 +0200)
committer
hyunjee Kim
<hj0426.kim@samsung.com>
Tue, 18 Jul 2017 04:50:29 +0000
(
04:50
+0000)
Change-Id: Idc6a07be72457d58f3966850a0846a158e478791
Signed-off-by: Lukasz Pik <lu.pik@partner.samsung.com>
src/utils_i18n_measure_format.cpp
patch
|
blob
|
history
diff --git
a/src/utils_i18n_measure_format.cpp
b/src/utils_i18n_measure_format.cpp
index
e4e38cf
..
595d32c
100644
(file)
--- a/
src/utils_i18n_measure_format.cpp
+++ b/
src/utils_i18n_measure_format.cpp
@@
-86,7
+86,7
@@
int i18n_measure_format_format(i18n_measure_format_h measure_format,
retv_if(ulen <= 0, I18N_ERROR_INVALID_PARAMETER);
-
*append_to = NULL
;
+
free(*append_to)
;
*append_to = (char *) malloc(ulen + 1);
retv_if(*append_to == NULL, I18N_ERROR_OUT_OF_MEMORY);