fixing memory bug
authorSameer Kumar <skumar2@uiuc.edu>
Sun, 27 Mar 2005 01:50:30 +0000 (01:50 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Sun, 27 Mar 2005 01:50:30 +0000 (01:50 +0000)
src/ck-com/DirectMulticastStrategy.C

index bdc161f5867f9ba0565b4183e10158354f7d1641..c637ffb4ccf484f87054bf7da406c349869a2ca5 100644 (file)
@@ -175,7 +175,7 @@ void DirectMulticastStrategy::localMulticast(envelope *env,
     //comes along
     
     if(obj->msg != NULL) {
-       delete obj->msg;
+        CmiFree(obj->msg);
        obj->msg = NULL;
     }