forked from enlightenment/efl
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:
parent
ead7f10c09
commit
02d47fd61a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue