Index: trunk/Ohana/src/opihi/pclient/pclient.c.in
===================================================================
--- trunk/Ohana/src/opihi/pclient/pclient.c.in	(revision 12280)
+++ trunk/Ohana/src/opihi/pclient/pclient.c.in	(revision 16455)
@@ -18,5 +18,4 @@
   InitBasic ();
   InitPclient ();
-  InitChild ();
 
   rl_prep_term_function = dummy_prep_term;
@@ -61,4 +60,7 @@
 /* add program-dependent exit functions here */
 void cleanup () {
+  ConfigFree ();
+  FreeBasic ();
+  FreePclient ();
   return;
 }
