diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-02-18 00:22:30 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-02-18 00:25:29 +0530 |
commit | 6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (patch) | |
tree | cee3a08e3b4b8cd8c731a7b03d4f2dcdc0b9a7ad /builtin_complete.cpp | |
parent | a08450bcb6050cc630d87ae6d7d5f203f8eeca62 (diff) |
Switched to std::map instead of hash_table_t in env.cpp and env_universal_common.cpp.
Diffstat (limited to 'builtin_complete.cpp')
-rw-r--r-- | builtin_complete.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin_complete.cpp b/builtin_complete.cpp index 79678a97..0e6afc45 100644 --- a/builtin_complete.cpp +++ b/builtin_complete.cpp @@ -431,6 +431,8 @@ static int builtin_complete( parser_t &parser, wchar_t **argv ) path.push_back(a); else cmd.push_back(a); + + free(a); } else { |