devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=358b4b9a9ad748c67a205c6040cc143a3b9a021a
commit 358b4b9a9ad748c67a205c6040cc143a3b9a021a Author: Chris Michael <cp.mich...@samsung.com> Date: Wed Jan 25 09:01:12 2017 -0500 elput: Fix resource leak Coverity reports that we leak 'msg' here if we fail to append arguments to the message. Fixes CID1367499 @fix Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/elput/elput_logind.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c index cf5c631..2503448 100644 --- a/src/lib/elput/elput_logind.c +++ b/src/lib/elput/elput_logind.c @@ -600,7 +600,10 @@ _logind_vt_set(Elput_Manager *em, int vt) if (!msg) return EINA_FALSE; if (!eldbus_message_arguments_append(msg, "u", vt)) - return EINA_FALSE; + { + eldbus_message_unref(msg); + return EINA_FALSE; + } eldbus_connection_send(em->dbus.conn, msg, NULL, NULL, -1); --