ecore: Check that eo_data_scope_get returns valid Ecore_Timer_Data
authorChris Michael <cp.michael@samsung.com>
Fri, 5 Sep 2014 15:35:21 +0000 (11:35 -0400)
committerChris Michael <cp.michael@samsung.com>
Fri, 5 Sep 2014 15:39:36 +0000 (11:39 -0400)
commitd7433b2bfe536539ffb582e12cf365ce31e4f2d9
treea9454f3cd06d1101ccdf4fa00efa797a06344354
parentd74eb93580fe1ccdbc0673832f95e4e9bfa56d6e
ecore: Check that eo_data_scope_get returns valid Ecore_Timer_Data
before trying to use it

eo_data_scope_get Could return NULL if it does not find valid
ecore_timer_data on this object. We should check that return before
just Assuming that timer data is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore/ecore_timer.c