diff options
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 7cbdba4..8796e98 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2664,7 +2664,7 @@ spawn(char *cmd, int raw, rp_frame *frame) /* Add this child process to our list. */ child = xmalloc (sizeof (rp_child_info)); - child->cmd = strdup (cmd); + child->cmd = xstrdup (cmd); child->pid = pid; child->terminated = 0; child->frame = frame; |