Index: trunk/psLib/src/sys/psConfigure.c
===================================================================
--- trunk/psLib/src/sys/psConfigure.c	(revision 18827)
+++ trunk/psLib/src/sys/psConfigure.c	(revision 18953)
@@ -13,6 +13,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-07-31 23:56:29 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-08-08 18:05:08 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -34,4 +34,5 @@
 #include "psEarthOrientation.h"
 #include "psError.h"
+#include "psFFT.h"
 #include "psConfigure.h"
 #include "psMemory.h"
@@ -125,4 +126,8 @@
     psTimerStop();
 
+    // Clean up FFTW threads
+    psFFTThreads(0);
+
+    // Clean up threads
     psThreadPoolFinalize();
 
