summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-05 14:53:02 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-10 15:15:08 +0300
commit3e02f6fd4c8047856c828420d5709b11e8176a0a (patch)
tree59fd1649d2367cf0d7fea365f101f1384cb5573c
parentb29340b3a1d0bd2664fcdf31e4e1e877aea966f1 (diff)
Ecore Exe: check parameter validity
-rw-r--r--src/lib/ecore/ecore_exe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index 97d5c16033..3063b79685 100644
--- a/src/lib/ecore/ecore_exe.c
+++ b/src/lib/ecore/ecore_exe.c
@@ -80,6 +80,7 @@ ecore_exe_pipe_run(const char *exe_cmd,
80EOLIAN static void 80EOLIAN static void
81_ecore_exe_command_set(Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char *cmd, Ecore_Exe_Flags flags) 81_ecore_exe_command_set(Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char *cmd, Ecore_Exe_Flags flags)
82{ 82{
83 if (!cmd) return;
83 pd->cmd = strdup(cmd); 84 pd->cmd = strdup(cmd);
84 pd->flags = flags; 85 pd->flags = flags;
85} 86}