diff options
author | 2012-11-21 22:14:28 -0800 | |
---|---|---|
committer | 2012-11-21 22:14:28 -0800 | |
commit | 7117c4a5ee4ebcdaa8ff692b9cc18fb87e6d8038 (patch) | |
tree | 3265e2473eee6289ffb6ac600e7360b3fdd67c20 /parse_util.cpp | |
parent | a3a7c4879998f434e6bc5667ad9943f7f9e6aa74 (diff) |
Remove tok_destroy
Diffstat (limited to 'parse_util.cpp')
-rw-r--r-- | parse_util.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/parse_util.cpp b/parse_util.cpp index 10072ec8..11abd912 100644 --- a/parse_util.cpp +++ b/parse_util.cpp @@ -404,9 +404,6 @@ static void job_or_process_extent(const wchar_t *buff, } free(buffcpy); - - tok_destroy(&tok); - } void parse_util_process_extent(const wchar_t *buff, @@ -517,8 +514,6 @@ void parse_util_token_extent(const wchar_t *buff, free(buffcpy); - tok_destroy(&tok); - if (tok_begin) { *tok_begin = a; @@ -721,8 +716,6 @@ void parse_util_get_parameter_info(const wcstring &cmd, const size_t pos, wchar_ prev_pos = tok_get_pos(&tok); } - tok_destroy(&tok); - wchar_t *cmd_tmp = wcsdup(cmd.c_str()); cmd_tmp[pos]=0; size_t cmdlen = wcslen(cmd_tmp); |