--- pgp/src/zipup.c 2018/04/24 16:38:45 1.1.1.2 +++ pgp/src/zipup.c 2018/04/24 16:39:28 1.1.1.3 @@ -37,10 +37,7 @@ # define fhow (O_RDONLY|O_BINARY) # else /* !MSDOS */ #ifndef AMIGA - int open OF((char *, int)); - int read OF((int, char *, int)); - int close OF((int)); - long lseek OF((int, long, int)); + long lseek(); #endif /* AMIGA */ # define fhow 0 # endif /* ?MSDOS */ @@ -58,6 +55,8 @@ local ftype ifile; /* file to compress */ +void lm_free(); +void ct_free(); int zipup(FILE *inFile, FILE *y) /* Compress the file fileName and write it to the file *y. Return an error @@ -90,6 +89,8 @@ int zipup(FILE *inFile, FILE *y) lm_init(level, &flg); /* s = */ deflate(); } + lm_free(); + ct_free(); return(0); }