aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp2
1 files changed, 0 insertions, 2 deletions
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<int> &color, const
}
}
}
- tok_destroy(&tok);
}