From 7117c4a5ee4ebcdaa8ff692b9cc18fb87e6d8038 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 21 Nov 2012 22:14:28 -0800 Subject: Remove tok_destroy --- highlight.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'highlight.cpp') diff --git a/highlight.cpp b/highlight.cpp index 666f6dba..8976b253 100644 --- a/highlight.cpp +++ b/highlight.cpp @@ -785,7 +785,6 @@ static bool autosuggest_parse_command(const wcstring &str, wcstring *out_command } } } - tok_destroy(&tok); /* Remember our command if we have one */ if (had_cmd) @@ -1301,7 +1300,6 @@ static void tokenize(const wchar_t * const buff, std::vector &color, const } } } - tok_destroy(&tok); } -- cgit v1.2.3