projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d984978
)
tbm_surface_queue: use DELINIT macro when pop node of queue
author
Changyeon Lee
<cyeon.lee@samsung.com>
Thu, 18 May 2017 10:43:39 +0000
(19:43 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 30 May 2017 07:54:13 +0000
(16:54 +0900)
Change-Id: I27eeed2a7ee6661cba65ddba8d658e32e2c55fa5
src/tbm_surface_queue.c
patch
|
blob
|
history
diff --git
a/src/tbm_surface_queue.c
b/src/tbm_surface_queue.c
index
ef6470b
..
55dbf10
100644
(file)
--- a/
src/tbm_surface_queue.c
+++ b/
src/tbm_surface_queue.c
@@
-294,7
+294,7
@@
_queue_node_pop_front(queue *queue)
node = LIST_ENTRY(queue_node, queue->head.next, item_link);
- LIST_DEL(&node->item_link);
+ LIST_DEL
INIT
(&node->item_link);
queue->count--;
return node;
@@
-303,7
+303,7
@@
_queue_node_pop_front(queue *queue)
static queue_node *
_queue_node_pop(queue *queue, queue_node *node)
{
- LIST_DEL(&node->item_link);
+ LIST_DEL
INIT
(&node->item_link);
queue->count--;
return node;