forked from enlightenment/efl
elm_color_class: Avoid resource leak
We would leak ecc here when we return so we need to free it before. CID: 1294249
This commit is contained in:
parent
b89af4d017
commit
64f3a97cb6
|
@ -604,6 +604,7 @@ _dbus_send_cc(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Me
|
|||
_colorclass_cc_update(cc, 0);
|
||||
_colorclass_cc_update(cc, 1);
|
||||
_colorclass_cc_update(cc, 2);
|
||||
free(ecc);
|
||||
return eldbus_message_method_return_new(msg);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue