Index: /trunk/Ohana/src/opihi/cmd.data/cut.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/cut.c	(revision 16445)
+++ /trunk/Ohana/src/opihi/cmd.data/cut.c	(revision 16446)
@@ -76,4 +76,5 @@
       yvec[0].elements[i] = value;
     }
+    free (Vbuf);
     break;
     
@@ -108,4 +109,5 @@
       yvec[0].elements[i] = value;
     }
+    free (Vbuf);
     break;
 
Index: /trunk/Ohana/src/opihi/cmd.data/vgauss.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/vgauss.c	(revision 16445)
+++ /trunk/Ohana/src/opihi/cmd.data/vgauss.c	(revision 16446)
@@ -10,5 +10,6 @@
     return (FALSE); \
   } \
-  V = atof (c);
+  V = atof (c); \
+  free (c);
 
 int vgauss (int argc, char **argv) {
@@ -83,4 +84,5 @@
   }
 
+  free (dy);
   mrqfree (Npar);
   return (TRUE);
Index: /trunk/Ohana/src/opihi/cmd.data/vmaxwell.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/vmaxwell.c	(revision 16445)
+++ /trunk/Ohana/src/opihi/cmd.data/vmaxwell.c	(revision 16446)
@@ -10,5 +10,6 @@
     return (FALSE); \
   } \
-  V = atof (c);
+  V = atof (c); \
+  free (c);
 
 int vmaxwell (int argc, char **argv) {
@@ -83,4 +84,5 @@
   }
 
+  free (dy);
   mrqfree (Npar);
   return (TRUE);
Index: /trunk/Ohana/src/opihi/lib.shell/startup.c
===================================================================
--- /trunk/Ohana/src/opihi/lib.shell/startup.c	(revision 16445)
+++ /trunk/Ohana/src/opihi/lib.shell/startup.c	(revision 16446)
@@ -66,4 +66,5 @@
       read_history (opihi_history);
     }
+    if (opihi_history) free (opihi_history);
   }
 
@@ -126,4 +127,5 @@
       status = command (line, &outline, TRUE);
       if (outline != (char *) NULL) free (outline);
+      if (rcfile) free (rcfile);
     }
       
