mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 10:39:35 +08:00
Call clang_disposeTokens() when we are done with the set of tokens.
llvm-svn: 116946
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user