Ecore Exe: check parameter validity

This commit is contained in:
Daniel Zaoui 2016-04-05 14:53:02 +03:00
parent b29340b3a1
commit 3e02f6fd4c
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ ecore_exe_pipe_run(const char *exe_cmd,
EOLIAN static void
_ecore_exe_command_set(Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char *cmd, Ecore_Exe_Flags flags)
{
if (!cmd) return;
pd->cmd = strdup(cmd);
pd->flags = flags;
}