aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-29 23:22:42 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-29 23:22:42 -0800
commit316f81119f24471882f2d394cd332bcc1312da4d (patch)
treee040a7a439e5566e3a0518f0cbb092e8a8b788b2 /exec.cpp
parent8d016040abaa60416dd1e3625b1727dcd84f3e79 (diff)
Excised some more halloc
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index 4f86d981..031914d2 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -554,7 +554,7 @@ static void launch_process( process_t *p )
res[i+1] = 0;
p->set_argv(res);
- p->actual_cmd = sh_command;
+ p->actual_cmd = wcsdup(sh_command);
res_real = wcsv2strv( (const wchar_t **) res);