--- /home/sjplimp/oldlammps/src/fix_wiggle.cpp	2005-06-03 16:59:08.000000000 -0600
+++ /home/sjplimp/lammps/src/fix_wiggle.cpp	2005-09-02 11:21:50.000000000 -0600
@@ -69,6 +69,10 @@
   //   unregister this fix so atom class doesn't invoke it any more
 
   if (atom) atom->delete_callback(id,0);
+
+  // delete locally stored array
+
+  memory->sfree(original);
 }
 
 /* ---------------------------------------------------------------------- */
@@ -128,7 +132,7 @@
 void FixWiggle::grow_arrays(int nmax)
 {
   original = (double *)
-    memory->srealloc(original,nmax*sizeof(int),"wiggle:original");
+    memory->srealloc(original,nmax*sizeof(double),"wiggle:original");
 }
 
 /* ----------------------------------------------------------------------