From 785ee20cac9f7acf915cea220c3720fff83d0580 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 5 Jun 2015 05:31:46 +0000 Subject: [PATCH] Free two strings produced by isl With this commit 'make check-polly' is now address sanitizer clean. llvm-svn: 239131 --- polly/lib/CodeGen/IslAst.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp index 12f90bb..c9f7ddd 100644 --- a/polly/lib/CodeGen/IslAst.cpp +++ b/polly/lib/CodeGen/IslAst.cpp @@ -555,6 +555,9 @@ void IslAstInfo::printScop(raw_ostream &OS, Scop &S) const { OS << "else\n"; OS << " { /* original code */ }\n\n"; + free(RtCStr); + free(AstStr); + isl_ast_expr_free(RunCondition); isl_union_map_free(Schedule); isl_ast_node_free(RootNode); -- 2.7.4