Index: trunk/Ohana/src/opihi/cmd.basic/shell.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.basic/shell.c	(revision 16465)
+++ trunk/Ohana/src/opihi/cmd.basic/shell.c	(revision 16466)
@@ -3,4 +3,7 @@
 static char *defshell = "/bin/sh";
 static char *cmdflag = "-c";
+
+// XXX add the ability to exec without a separate shell
+// XXX add an option to modify the timeout
 
 int shell (int argc, char **argv) {
@@ -42,4 +45,5 @@
     exit (1);
   }
+  free (args[2]);
   free (args);
   
Index: trunk/Ohana/src/opihi/lib.data/book.c
===================================================================
--- trunk/Ohana/src/opihi/lib.data/book.c	(revision 16465)
+++ trunk/Ohana/src/opihi/lib.data/book.c	(revision 16466)
@@ -39,5 +39,4 @@
     for (i = 0; i < book[0].Npages; i++) {
 	FreePage (book[0].pages[i]);
-	free (book[0].pages[i]);
 	free (book[0].pageIDs[i]);
     }
