forked from enlightenment/efl
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>
This commit is contained in:
parent
7b0a1933a0
commit
ff7a5e4f1b
|
@ -695,7 +695,6 @@ connect_err:
|
|||
eina_hash_free(ewd->globals);
|
||||
free(ewd->name);
|
||||
free(ewd);
|
||||
return NULL;
|
||||
|
||||
if (hash_create)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue