eina: fix free support in eina OneBig mempool.
authorCedric Bail <cedric.bail@free.fr>
Sat, 14 Sep 2019 17:49:28 +0000 (10:49 -0700)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 17 Sep 2019 21:11:06 +0000 (06:11 +0900)
commit27e8a85f45da118ba3f418550da19750e0f09458
treeafd9523c66129617b09e7ef3f07b4aa7326f4477
parent6083b631de099d6dab9e2949195c3a437fd10e14
eina: fix free support in eina OneBig mempool.

We use an Eina_Trash to store freed pointer, which require the item size
to be at least the size of a pointer. There wasn't any test suite enable
for OneBig mempool and we never used free on a small item size...

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9939
src/modules/eina/mp/one_big/eina_one_big.c