pspp-convert: Add options for selecting variables and controlling output.
[pspp] / tests / libpspp / zip-test.c
index 011d123841535b3e853ef4a66b730d9b1955f14c..e132cb93da5299983a35438bf4d7da00b4d39949 100644 (file)
@@ -30,7 +30,6 @@
 #include <libpspp/str.h>
 
 #include <errno.h>
-#include "xalloc.h"
 \f
 /* Exit with a failure code.
    (Place a breakpoint on this function while debugging.) */
@@ -96,6 +95,7 @@ main (int argc, char **argv)
            {
              fwrite (buf, x, 1, fp);
            }
+          zip_member_finish (zm);
          fclose (fp);
          if ( x < 0)
            {