aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 00:22:30 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 00:25:29 +0530
commit6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (patch)
treecee3a08e3b4b8cd8c731a7b03d4f2dcdc0b9a7ad /exec.cpp
parenta08450bcb6050cc630d87ae6d7d5f203f8eeca62 (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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/exec.cpp b/exec.cpp
index 2acd68fa..e0590d37 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -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
{