Index: /trunk/Ohana/src/opihi/lib.shell/exec_loop.c
===================================================================
--- /trunk/Ohana/src/opihi/lib.shell/exec_loop.c	(revision 9468)
+++ /trunk/Ohana/src/opihi/lib.shell/exec_loop.c	(revision 9469)
@@ -41,5 +41,8 @@
   signal (SIGINT, Signal);
 
-  /* free up the list and decrement the shell level */
+  /* free remaining lines on the list, free the list, decrement the shell level */
+  for (n ++; n < Nlines; n ++) {
+      free (lists[ThisList].line[n]);
+  }
   free (lists[ThisList].line);
   Nlists --;
@@ -51,2 +54,4 @@
 
 /** note that the list number runs from 1 - Nlists+1 **/
+/** XXX this is kind of silly: I should simply define a function 
+    to pop next line off the specified list.  review this... **/
