small memory leak fix
authorFilippo Gioachin <gioachin@illinois.edu>
Thu, 9 Sep 2004 01:02:55 +0000 (01:02 +0000)
committerFilippo Gioachin <gioachin@illinois.edu>
Thu, 9 Sep 2004 01:02:55 +0000 (01:02 +0000)
src/ck-com/PipeBroadcastStrategy.C

index 7879b29b615f3f2bba7966a94618bc3131a3b49e..0d6ed083395e6748c1a76cd54671c1c1a8afb57b 100644 (file)
@@ -81,6 +81,7 @@ void PipeBroadcastStrategy::doneInserting(){
     // modify the Handler to deliver the message to the propagator
     envelope *env = UsrToEnv(cmsg->getCharmMessage());
 
+    delete cmsg;
     conversePipeBcast(env, env->getTotalsize());
   }
 }