HomePhabricator

ecore: do not rely on implicit rules for memory lifecycle during test.

Authored by cedric on Jun 20 2019, 6:38 AM.

Description

ecore: do not rely on implicit rules for memory lifecycle during test.

Summary:
alloca force the memory to be accessible for the entire duration of the
scope of the function it is called from. This will garantee that the
memory pointer are not recycled under our feet before we check them.

T8020

Reviewers: zmike

Reviewed By: zmike

Subscribers: reviewers, committers

Tags: efl

Maniphest Tasks: T8020

Differential Revision: https://phab.enlightenment.org/D9127

Details

Committed
zmikeJun 20 2019, 6:40 AM
Reviewer
zmike
Differential Revision
D9127: ecore: do not rely on implicit rules for memory lifecycle during test.
Parents
rEFLd46d1ed0181d: fix build.
Branches
Unknown
Tags
Unknown