eina_array: Fix magic checks to return
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 31 Aug 2017 10:25:26 +0000 (19:25 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 1 Sep 2017 01:09:37 +0000 (10:09 +0900)
commitf4ed430ddc153582da2aee84ea209959bf6e51f4
treefa31607ca57eecc88544e2c02db75ad42515aede
parentcfe8170624c51761932b48fd6bb57f1c52dcff93
eina_array: Fix magic checks to return

The EINA_MAGIC check inside eina_array were just printing the error
message, without failing. This could lead to more crashes than
necessary.

@fix
src/lib/eina/eina_array.c