ecore-wl2: Fix issue where hash would not get destroyed on error
authorChris Michael <cpmichael@osg.samsung.com>
Thu, 30 Jun 2016 15:14:40 +0000 (11:14 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 30 Jun 2016 15:14:40 +0000 (11:14 -0400)
commitff7a5e4f1b1286b1226fb0a9a1729759d1f72e18
treeb12679e3061accc1a2d4d022e0e5e18196a889ae
parent7b0a1933a00983b28951ae9987bbc6dcf4dc5fc8
ecore-wl2: Fix issue where hash would not get destroyed on error

Coverity reports that we could not reach the eina_hash_free here on
erorr condition. This was due to an erroneous return NULL above the if
(hash_create) check.

Fixes Coverity CID1357171

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/ecore_wl2/ecore_wl2_display.c