r208503 - c-index-test: Don't leak diagnostic category text.
Nico Weber
nicolasweber at gmx.de
Sun May 11 10:16:59 PDT 2014
Author: nico
Date: Sun May 11 12:16:59 2014
New Revision: 208503
URL: http://llvm.org/viewvc/llvm-project?rev=208503&view=rev
Log:
c-index-test: Don't leak diagnostic category text.
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=208503&r1=208502&r2=208503&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Sun May 11 12:16:59 2014
@@ -3894,6 +3894,7 @@ static void printDiagnosticSet(CXDiagnos
clang_disposeString(FileName);
clang_disposeString(DiagSpelling);
clang_disposeString(DiagOption);
+ clang_disposeString(DiagCat);
}
}
More information about the cfe-commits
mailing list