efl/src/lib/eldbus
Christopher Michael be9343eeb0 eldbus: Fix resource leak
Summary:
Coverity reports that we leak 'data' here (which can happen if we
error on 'eina_value_dup(value)'). Iniitalize 'data' to NULL, and add a
'free' call to cleanup 'data' before we return a rejected future.

Fixes Coverity CID1399097

@fix

Depends on D8350

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8352
2019-03-19 08:57:59 -04:00
..
Eldbus.h headers: ensure Efl.h is always included behind BETA define guards 2019-03-08 12:06:22 -08:00
Eldbus_Model.h headers: ensure Efl.h is always included behind BETA define guards 2019-03-08 12:06:22 -08:00
eldbus_connection.h
eldbus_core.c eldbus: make sure we do not destroy our log domain until we shutoff eina. 2018-05-01 10:39:01 -07:00
eldbus_freedesktop.c
eldbus_freedesktop.h
eldbus_introspection.c
eldbus_introspection.h
eldbus_message.c
eldbus_message.h
eldbus_message_eina_value.h
eldbus_message_from_eina_value.c
eldbus_message_helper.c
eldbus_message_helper.h
eldbus_message_to_eina_value.c
eldbus_model.c eldbus: simplify code by using helper that create future directly. 2018-11-30 14:58:22 -08:00
eldbus_model.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_arguments.c eldbus model - remove unused vars warn 2018-12-04 08:33:46 +00:00
eldbus_model_arguments.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_arguments_private.h efl: make Efl.Model.properties_get return an Iterator<string>. 2018-11-23 10:13:58 -08:00
eldbus_model_connection.c ecore: remove data parameters of Efl.Loop_Consumer.promise_new to reduce the risk of inadvertently using the wrong data. 2019-01-16 14:33:26 -08:00
eldbus_model_connection.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_connection_private.h eldbus: migrate and refactor eldbus.model to new efl.model API. 2018-04-30 14:21:11 -07:00
eldbus_model_method.c efl: make Efl.Model.properties_get return an Iterator<string>. 2018-11-23 10:13:58 -08:00
eldbus_model_method.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_method_private.h eldbus: migrate and refactor eldbus.model to new efl.model API. 2018-04-30 14:21:11 -07:00
eldbus_model_object.c ecore: remove data parameters of Efl.Loop_Consumer.promise_new to reduce the risk of inadvertently using the wrong data. 2019-01-16 14:33:26 -08:00
eldbus_model_object.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_object_private.h eldbus: migrate and refactor eldbus.model to new efl.model API. 2018-04-30 14:21:11 -07:00
eldbus_model_private.h ecore: remove data parameters of Efl.Loop_Consumer.promise_new to reduce the risk of inadvertently using the wrong data. 2019-01-16 14:33:26 -08:00
eldbus_model_proxy.c eldbus: Fix resource leak 2019-03-19 08:57:59 -04:00
eldbus_model_proxy.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_proxy_private.h eldbus: migrate and refactor eldbus.model to new efl.model API. 2018-04-30 14:21:11 -07:00
eldbus_model_signal.c eldbus: rename custom constructor methods 2018-02-15 13:11:00 -05:00
eldbus_model_signal.eo eolian: enable checking of beta/stable contexts in all classes 2019-03-11 13:42:29 +01:00
eldbus_model_signal_private.h
eldbus_object.c
eldbus_object.h
eldbus_pending.c
eldbus_pending.h
eldbus_private.h
eldbus_private_types.h
eldbus_proxy.c
eldbus_proxy.h
eldbus_service.c eldbus- fix warning by casting through void 2018-11-09 11:43:59 +00:00
eldbus_service.h
eldbus_signal_handler.c eldbus: remove unreachable code. 2018-10-10 12:55:21 +02:00
eldbus_signal_handler.h
eldbus_types.eot eolian: first batch of unused import removals 2018-05-13 17:28:47 +02:00
meson.build build: add a option to disable eo file installation 2019-03-14 12:44:00 -04:00