Commit Graph

7 Commits

Author SHA1 Message Date
Xavi Artigas 3e23c210cb Fix leaks and double frees in eina_hash example
Summary:
Short-lived eina strings do not need to be explicitly deallocated.
The return value of eina_hash_set DOES need to be deallocated, though.

Reviewers: cedric, ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D6006
2018-05-01 13:21:12 -04:00
Andy Williams 13fb2b4b1b eina: Add a little more documentation for our examples 2017-11-16 15:13:01 +00:00
Andy Williams badb4f912e eina: Add an int hash to the reference 2017-11-15 18:57:07 +00:00
Andy Williams 14b77cfe82 build: Update to match headers with deps 2017-11-15 18:25:15 +00:00
Cedric BAIL a45f16f5d1 eina: we can now rely solely on Efl_Core.h 2017-11-14 14:07:54 -08:00
Cedric BAIL a082087b84 eina: improve Eina_Hash example by using EINA_ITERATOR_FOREACH macro. 2017-11-14 13:39:29 -08:00
Andy Williams f10e9e9413 Add a first pass Eina_Hash reference as well 2017-11-14 17:28:42 +00:00