Index: trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/ConfigInit.c	(revision 16440)
+++ trunk/Ohana/src/opihi/lib.shell/ConfigInit.c	(revision 16888)
@@ -3,4 +3,5 @@
 static char *GlobalConfig;
 
+// this function is only called at start, so it is not thread protect
 int ConfigInit (int *argc, char **argv) {
 
@@ -19,4 +20,10 @@
   free (file);
   return (TRUE);
+}
+
+// this function is only called at shutdown, so it is not thread protect
+void ConfigFree () {
+  if (GlobalConfig) free (GlobalConfig);
+  return;
 }
 
@@ -65,6 +72,2 @@
 }
 
-void ConfigFree () {
-  if (GlobalConfig) free (GlobalConfig);
-  return;
-}
