Remove tok_destroy

This commit is contained in:
ridiculousfish
2012-11-21 22:14:28 -08:00
parent a3a7c48799
commit 7117c4a5ee
11 changed files with 0 additions and 44 deletions

View File

@@ -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);