projects
/
platform
/
core
/
api
/
player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a12b22
)
fix svace issue
67/78267/1
author
NAMJEONGYOON
<just.nam@samsung.com>
Tue, 5 Jul 2016 03:26:08 +0000
(12:26 +0900)
committer
NAMJEONGYOON
<just.nam@samsung.com>
Tue, 5 Jul 2016 03:26:08 +0000
(12:26 +0900)
Change-Id: I4a528b5729e6f7ddeb053c69899303d595a50f13
src/player.c
patch
|
blob
|
history
diff --git
a/src/player.c
b/src/player.c
index
ad0646e
..
f1565c6
100644
(file)
--- a/
src/player.c
+++ b/
src/player.c
@@
-1204,6
+1204,8
@@
static callback_cb_info_s *callback_new(gint sockfd)
g_return_val_if_fail(sockfd > 0, NULL);
cb_info = g_new(callback_cb_info_s, 1);
+ if (!cb_info)
+ return NULL;
memset(cb_info, 0, sizeof(callback_cb_info_s));
g_mutex_init(&cb_info->player_mutex);