summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-04-24 04:14:12 +0000
committerNico Weber <nicolasweber@gmx.de>2014-04-24 04:14:12 +0000
commit82098cb6dfc80dad8167c6dfbc036eb402ce52ff (patch)
tree30e9b0d78167d1516801decf4498436d623ecc5d /clang/include/clang-c
parent2803df5ae6085aa968966f85f26ff0c4817e91ad (diff)
downloadbcm5719-llvm-82098cb6dfc80dad8167c6dfbc036eb402ce52ff.tar.gz
bcm5719-llvm-82098cb6dfc80dad8167c6dfbc036eb402ce52ff.zip
Fix two leaks in c-index-test found by LSan.
The result of clang_getCursorSpelling() needs to be clang_getCursorSpelling()ed. llvm-svn: 207073
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/CXString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang-c/CXString.h b/clang/include/clang-c/CXString.h
index 592c4dc44e3..cf198cbf5d0 100644
--- a/clang/include/clang-c/CXString.h
+++ b/clang/include/clang-c/CXString.h
@@ -31,7 +31,7 @@ extern "C" {
* \brief A character string.
*
* The \c CXString type is used to return strings from the interface when
- * the ownership of that string might different from one call to the next.
+ * the ownership of that string might differ from one call to the next.
* Use \c clang_getCString() to retrieve the string data and, once finished
* with the string data, call \c clang_disposeString() to free the string.
*/
OpenPOWER on IntegriCloud