Several fixes to handle invalid transition objects: 1. Free transition in ivi_layout_transition_fade_layer if we fail to allocate memory for data 2. Check if transition is not null and if layout_transition_register was ok before return, if not, free transition 3. Destroy transition if layout_transition_register was not ok, we can't just free transition, we need to call layout_transition_destroy in order to free private_data from transition Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>dev
parent
ae5df83f8e
commit
c8dcd16b01
Loading…
Reference in new issue