Add '_tbm_bo_is_valid' static function 29/26529/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 26 Aug 2014 04:08:59 +0000 (13:08 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 26 Aug 2014 04:08:59 +0000 (13:08 +0900)
commitd612c749084e863ccaf7381deb8c21d63fae5260
tree9469fd05b727fa31655fd12465841863aa65321c
parentced0ea3fe85091351cd6b67325698c605f3db4d2
Add '_tbm_bo_is_valid' static function
-> this function will check the bo_list in gBufMgr whether the bo is in the bo_list or not.
if it is in list , it is valid. And not in list, it is invalid.
this function will replace TBM_BO_IS_VALID Macro.
there is a problem TBM_BO_IS_VALID Macro, this is not considered for tbm_bo which is alread freed.

Change-Id: I85689f5559df71bf8feb9970caf384e7089aef54
src/tbm_bufmgr.c