Fixed the trimmed mean calculation under various special cases.
[pspp-builds.git] / src / getline.c
index a5b0148e1dedb4203d7b736079c057a2387b85f1..b5d87bc32d5c69b7ffbe25f88d50dec0947710c2 100644 (file)
@@ -81,10 +81,13 @@ getl_initialize (void)
 void
 getl_uninitialize (void)
 {
+  getl_close_all();
 #if HAVE_LIBHISTORY && defined (unix)
   if (history_file)
     write_history (history_file);
 #endif
+  ds_destroy (&getl_buf);
+  ds_destroy (&getl_include_path);
 }
 
 /* Returns a string that represents the directory that the syntax file