[cfe-commits] r67027 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Anders Carlsson
andersca at mac.com
Sun Mar 15 10:35:18 PDT 2009
Author: andersca
Date: Sun Mar 15 12:35:16 2009
New Revision: 67027
URL: http://llvm.org/viewvc/llvm-project?rev=67027&view=rev
Log:
Make sure to release the expressions.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=67027&r1=67026&r2=67027&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Sun Mar 15 12:35:16 2009
@@ -2258,6 +2258,8 @@
}
}
+ assertexpr.release();
+ assertmessageexpr.release();
Decl *Decl = StaticAssertDecl::Create(Context, CurContext, AssertLoc,
AssertExpr, AssertMessage);
More information about the cfe-commits
mailing list