forked from enlightenment/efl
elm atspi bridge - fix resource leak
previous fix brought out a new leak not found before by coverity. fix CID 1353602
This commit is contained in:
parent
a9025a3e4f
commit
891ae89d16
|
@ -621,7 +621,7 @@ _accessible_attributes_get(const Eldbus_Service_Interface *iface, const Eldbus_M
|
|||
EINA_LIST_FOREACH(attrs, l, attr)
|
||||
{
|
||||
iter_entry = eldbus_message_iter_container_new(iter_dict, 'e', NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(iter_entry, NULL);
|
||||
if (!iter_entry) goto error;
|
||||
eldbus_message_iter_arguments_append(iter_entry, "ss", attr->key, attr->value);
|
||||
eldbus_message_iter_container_close(iter_dict, iter_entry);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue