Index: lib/Analysis/GRSimpleVals.cpp
===================================================================
--- lib/Analysis/GRSimpleVals.cpp	(revision 49048)
+++ lib/Analysis/GRSimpleVals.cpp	(working copy)
@@ -76,10 +76,12 @@
                  ITERATOR I, ITERATOR E, const char* msg) {
  
   std::ostringstream Out;
+  std::string Str;
 
   if (!PD) {
     Out << "[CHECKER] " << msg;
-    msg = Out.str().c_str();
+    Str = Out.str();
+    msg = Str.c_str();
   }
   
   bool isFirst = true;
