X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Flibpspp%2Fzip-test.c;h=e132cb93da5299983a35438bf4d7da00b4d39949;hb=8318b3fffc62b96271e4bbbeb67fe706f797e993;hp=011d123841535b3e853ef4a66b730d9b1955f14c;hpb=6e097c89af440da90b43ce90864394c4d0c843d5;p=pspp diff --git a/tests/libpspp/zip-test.c b/tests/libpspp/zip-test.c index 011d123841..e132cb93da 100644 --- a/tests/libpspp/zip-test.c +++ b/tests/libpspp/zip-test.c @@ -30,7 +30,6 @@ #include #include -#include "xalloc.h" /* 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) {