Index: trunk/Ohana/src/opihi/cmd.data/spline_construct.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/spline_construct.c	(revision 17902)
+++ trunk/Ohana/src/opihi/cmd.data/spline_construct.c	(revision 17903)
@@ -16,6 +16,6 @@
   if ((out = SelectBuffer (argv[2], ANYBUFFER, TRUE)) == NULL) return (FALSE);
 
+  // XXX move this to gfits_create_matrix
   free (out[0].matrix.buffer);
-  free (out[0].header.buffer);
   if ((in[0].file[0] != '*') && (in[0].file[0] != '(')) {
     sprintf (out[0].file, "*%s", in[0].file);
Index: trunk/Ohana/src/opihi/lib.shell/BufferOps.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/BufferOps.c	(revision 17902)
+++ trunk/Ohana/src/opihi/lib.shell/BufferOps.c	(revision 17903)
@@ -122,6 +122,4 @@
 
 int CopyBuffer (Buffer *out, Buffer *in) {
-  free (out[0].matrix.buffer);
-  free (out[0].header.buffer);
   out[0].bitpix = in[0].bitpix;
   out[0].unsign = in[0].unsign;
