atspi_bridge: unref ret if iter_struct is null

This fixes coverity CID 1170201.
This commit is contained in:
Daniel Juyung Seo 2014-02-09 22:15:00 +09:00
parent db9388976c
commit 3dbe6404df
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ _component_get_extents(const Eldbus_Service_Interface *iface EINA_UNUSED, const
return ret;
fail:
if (iter_struct) eldbus_message_iter_del(iter_struct);
if (ret) eldbus_message_unref(ret);
return NULL;
}