diff options
-rw-r--r-- | clang/tools/c-index-test/c-index-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index dbd40b86b74..0dde4c7cc76 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/tools/c-index-test/c-index-test.c @@ -717,6 +717,7 @@ static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { CXType Underlying = clang_getTypedefDeclUnderlyingType(Referenced); CXString S = clang_getTypeSpelling(Underlying); printf(" (Transparent: %s)", clang_getCString(S)); + clang_disposeString(S); } } } |