eina: handle errors when creating a mempool
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 16 Sep 2017 12:17:25 +0000 (14:17 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 16 Sep 2017 12:28:39 +0000 (14:28 +0200)
commitca731fbfb6aa1ab376846870f1a4260b27bdf793
tree07b5f86cceb531032d236305c36321379f8575d6
parentb5c4aeab94b276e001819d22cc684a71caff564a
eina: handle errors when creating a mempool

If the backend initialization failed, the mempool would still be
successfully created. The mempool is now destroyed on failure.
src/lib/eina/eina_mempool.c