make sure 'extents' is initialized (it's safe to call evas_hash_find() with hash being NULL)

SVN revision: 16959
This commit is contained in:
tsauerbeck 2005-09-26 11:37:27 +00:00 committed by tsauerbeck
parent 31a1018075
commit 45a8c5a55b
1 changed files with 1 additions and 2 deletions

View File

@ -595,8 +595,7 @@ _e_manager_cb_frame_extents_request(void *data, int ev_type __UNUSED__, void *ev
free(state);
}
if (frame_extents)
extents = evas_hash_find(frame_extents, key);
extents = evas_hash_find(frame_extents, key);
if (!extents)
{
extents = E_NEW(Frame_Extents, 1);