Changing a delete to delete[] which makes it correct.
authorSameer Kumar <skumar2@uiuc.edu>
Sun, 27 Mar 2005 05:54:14 +0000 (05:54 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Sun, 27 Mar 2005 05:54:14 +0000 (05:54 +0000)
src/ck-com/DirectMulticastStrategy.C

index c637ffb4ccf484f87054bf7da406c349869a2ca5..1b32e1ef634e162ceaae4db2d4e0d57711a67ac2 100644 (file)
@@ -301,7 +301,7 @@ void DirectMulticastStrategy::handleNewMulticastMessage(envelope *env) {
     ComlibSectionHashObject *new_obj = createObjectOnIntermediatePe
         (idx_list.size(), idx_list_array, cbmsg->_cookie.pe);
 
-    delete idx_list_array;
+    delete [] idx_list_array;
     
     sec_ht.put(key) = new_obj;