diff options
author | situ <situ@situ-ThinkPad-T430.(none)> | 2012-11-22 22:41:36 +0530 |
---|---|---|
committer | situ <situ@situ-ThinkPad-T430.(none)> | 2012-11-22 22:41:36 +0530 |
commit | e53e00c4f9e4f882686cce8c05b43c31840eeabf (patch) | |
tree | aa5723b0d1b739c408b1e47193bd9f41568889b7 | |
parent | 90495f3ac544ba89a3f7063de6e1fb4cd74872a7 (diff) |
Fixed compilation error in expand.cpp
-rw-r--r-- | expand.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -517,12 +517,7 @@ bool process_iterator_t::next_process(wcstring *out_str, pid_t *out_pid) signal_unblock(); /* The command line needs to be escaped */ - wchar_t *first_arg = tok_first(full_command_line.c_str()); - if (first_arg) - { - cmd = first_arg; - free(first_arg); - } + cmd = tok_first(full_command_line.c_str()); } #ifdef SunOS else if ((cmdfile=wfopen(path + L"/psinfo", "r"))) |