use LIST_FOR_EACH_ENTRY_SAFE at _notify_emit 22/99822/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 24 Nov 2016 07:43:33 +0000 (16:43 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 24 Nov 2016 07:45:21 +0000 (16:45 +0900)
commit187ec42d96e4af9f1de787885e30d6f63d9a8998
treef36bf0fb065b94c1ad9a187b8b03d90bea9fb96e
parentf81c29f2a00f7cbc630576ee8e4b5891719526b3
use LIST_FOR_EACH_ENTRY_SAFE at _notify_emit

The item->cb is the outside function of the libtbm.
The tbm user may/can remove the item of the list,
so we have to use the LIST_FOR_EACH_ENTRY_SAFE.

Change-Id: Ib8ccbe0e1145f410001798a54535ee92d8dcc209
src/tbm_surface_queue.c