Fix numerous memory leaks.
[pspp] / tests / output / render-test.c
index e5eea91d94fefd0b2f9ae921e87699bf3b5eb5bf..421b9be0663dd6a2abc8793fba4e2e995e239a99 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "data/file-handle-def.h"
 #include "libpspp/assertion.h"
 #include "libpspp/compiler.h"
 #include "libpspp/string-map.h"
@@ -126,6 +127,7 @@ main (int argc, char **argv)
     fclose (input);
 
   output_engine_pop ();
+  fh_done ();
 
   return 0;
 }