diff options
author | 2012-02-18 00:22:30 +0530 | |
---|---|---|
committer | 2012-02-18 00:25:29 +0530 | |
commit | 6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (patch) | |
tree | cee3a08e3b4b8cd8c731a7b03d4f2dcdc0b9a7ad /exec.cpp | |
parent | a08450bcb6050cc630d87ae6d7d5f203f8eeca62 (diff) |
Switched to std::map instead of hash_table_t in env.cpp and env_universal_common.cpp.
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1742,6 +1742,8 @@ static int exec_subshell_internal( const wcstring &cmd, wcstring_list_t *lst ) if( el ) { lst->push_back(el); + + free(el); } else { @@ -1760,6 +1762,8 @@ static int exec_subshell_internal( const wcstring &cmd, wcstring_list_t *lst ) if( el ) { lst->push_back(el); + + free(el); } else { |