projects
/
platform
/
core
/
multimedia
/
libmm-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74aa44f
)
[0.6.184] Fix that bus_msg_q is double freed When the player creation fails
94/204094/1
author
Gilbok Lee
<gilbok.lee@samsung.com>
Fri, 19 Apr 2019 07:07:02 +0000
(16:07 +0900)
committer
Gilbok Lee
<gilbok.lee@samsung.com>
Fri, 19 Apr 2019 07:07:59 +0000
(16:07 +0900)
Change-Id: Ie10997815c47f38579ad6a07e86ae71a27f7bc47
src/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index
79f4026
..
eea8a2d
100644
(file)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-4683,6
+4683,7
@@
ERROR:
/* free update tag lock */
g_mutex_clear(&player->update_tag_lock);
g_queue_free(player->bus_msg_q);
+ player->bus_msg_q = NULL;
/* free gapless play thread */
if (player->gapless_play_thread) {
MMPLAYER_GAPLESS_PLAY_THREAD_LOCK(player);