projects
/
platform
/
core
/
uifw
/
tts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421f926
)
Fix memory leak detected by static analysis tool
48/290148/1
author
wn.jang
<wn.jang@samsung.com>
Tue, 21 Mar 2023 00:49:09 +0000
(09:49 +0900)
committer
wn.jang
<wn.jang@samsung.com>
Tue, 21 Mar 2023 00:49:09 +0000
(09:49 +0900)
Change-Id: I332780d46eb2d8ad297a0526a87eac1ae06afdad
common/tts_config_mgr.c
patch
|
blob
|
history
diff --git
a/common/tts_config_mgr.c
b/common/tts_config_mgr.c
index
7681be1
..
41f8261
100644
(file)
--- a/
common/tts_config_mgr.c
+++ b/
common/tts_config_mgr.c
@@
-589,7
+589,7
@@
static void invoke_pitch_changed_event(int pitch)
delete_pitch_changed_event_invoker();
int *params = (int *)calloc(1, sizeof(int));
- if (NULL
!
= params) {
+ if (NULL
=
= params) {
SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to allocate the memory for parameter");
return;
}