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:
8772828
)
Add memory releaser in ttsd_player.c
79/115579/2
accepted/tizen/3.0/common/20170224.130006
accepted/tizen/3.0/ivi/20170223.225406
accepted/tizen/3.0/mobile/20170223.225341
accepted/tizen/3.0/tv/20170223.225356
accepted/tizen/3.0/wearable/20170223.225400
submit/tizen_3.0/20170223.084814
author
sooyeon.kim
<sooyeon.kim@samsung.com>
Mon, 20 Feb 2017 11:30:39 +0000
(20:30 +0900)
committer
sooyeon.kim
<sooyeon.kim@samsung.com>
Mon, 20 Feb 2017 11:36:16 +0000
(20:36 +0900)
Change-Id: If1a6cbdbe9ef78e37cab93d80b8f580c1e195057
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
server/ttsd_player.c
patch
|
blob
|
history
diff --git
a/server/ttsd_player.c
b/server/ttsd_player.c
index
67acfba
..
9c6760a
100644
(file)
--- a/
server/ttsd_player.c
+++ b/
server/ttsd_player.c
@@
-385,6
+385,12
@@
static void __play_thread(void *data, Ecore_Thread *thread)
}
}
SLOG(LOG_INFO, tts_tag(), "[Player] Finish utterance : uid(%d), uttid(%d)", player->uid, sound_data->utt_id);
+ if (NULL != sound_data->data) {
+ free(sound_data->data);
+ sound_data->data = NULL;
+ }
+ free(sound_data);
+ sound_data = NULL;
continue;
}
}