diff --git a/src/USER-MISC/fix_bond_react.cpp b/src/USER-MISC/fix_bond_react.cpp
index 6a628f0513ebba20ea9cb5e1465b4fedc6a967e6..490d491191240dfc0301389011577b4140d126ad 100644
--- a/src/USER-MISC/fix_bond_react.cpp
+++ b/src/USER-MISC/fix_bond_react.cpp
@@ -1707,16 +1707,19 @@ void FixBondReact::ghost_glovecast()
 
   global_megasize = 0;
 
-  int *allncols = new int[nprocs]();
+  int *allncols = new int[nprocs];
   for (int i = 0; i < nprocs; i++)
     allncols[i] = 0;
   MPI_Allgather(&ghostly_num_mega, 1, MPI_INT, allncols, 1, MPI_INT, world);
   for (int i = 0; i < nprocs; i++)
     global_megasize = global_megasize + allncols[i];
 
-  if (global_megasize == 0) return;
+  if (global_megasize == 0) {
+    delete [] allncols;
+    return;
+  }
 
-  int *allstarts = new int[nprocs]();
+  int *allstarts = new int[nprocs];
 
   int start = 0;
   for (int i = 0; i < me; i++) {