efl_core_command_line: Fix resource leak

Small patch to fix a resource leak. Variable 'command' goes out of
scope here which causes a leak.

Fixes Coverity CID1399085

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8308
This commit is contained in:
Christopher Michael 2019-03-12 09:51:25 -04:00 committed by Stefan Schmidt
parent ead7f10c09
commit 02d47fd61a
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ _efl_core_command_line_command_array_set(Eo *obj EINA_UNUSED, Efl_Core_Command_L
eina_stringshare_del(content);
}
eina_array_free(array);
eina_strbuf_free(command);
return EINA_FALSE;
}