Skip to content
Snippets Groups Projects
Commit 93f5e6a5 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Call clang_disposeTokens() when we are done with the set of tokens.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116946 91177308-0d34-0410-b5e6-96231b3b80d8
parent 536bab45
No related branches found
No related tags found
No related merge requests found
......@@ -1234,6 +1234,7 @@ int perform_token_annotation(int argc, const char **argv) {
printf("\n");
}
free(cursors);
clang_disposeTokens(TU, tokens, num_tokens);
teardown:
PrintDiagnostics(TU);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment