Page MenuHomePhabricator

efl_mono: add a free function to every owned type

Authored by bu5hm4n on Jan 21 2019, 6:07 AM.



this is another step towards enforcing free functions on every owned
type. To equip every owned type with a free function the following is
applied. Every owned ptr is assumed to be a heap pointer, with the free
function "free". Every string that is owed is converted to a mstring. a
pointer to a eo object is also assumed to be a heap pointer, and equiped
with the free function "free".

Depends on D7641

Diff Detail

rEFL core/efl
Lint OK
No Unit Test Coverage
Build Status
Buildable 8980
bu5hm4n created this revision.Jan 21 2019, 6:07 AM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added:

@lauromoura @felipealmeida @vitor.sousa

This patch makes efl_mono fail, it seems that something wrong is happening there, and owned content of eina_list is freed, even though it should not be freed.

bu5hm4n updated this revision to Diff 18702.Jan 23 2019, 3:50 AM
bu5hm4n edited the summary of this revision. (Show Details)

i did a wrong change :(

lauromoura accepted this revision.Jan 23 2019, 4:59 AM
This revision is now accepted and ready to land.Jan 23 2019, 4:59 AM
Closed by commit rEFL286ad910754c: efl_mono: add a free function to every owned type (authored by Marcel Hollerbach <>). · Explain WhyJan 23 2019, 5:14 AM
This revision was automatically updated to reflect the committed changes.