Fix some memory leaks (Issue #23)

This commit is contained in:
Michael R Sweet
2021-10-16 00:02:31 -04:00
parent f3689d6b3d
commit 095a4c10d4
5 changed files with 34 additions and 10 deletions

View File

@@ -80,6 +80,8 @@ pdfioStreamClose(pdfio_stream_t *st) // I - Stream
goto done;
}
}
deflateEnd(&st->flate);
}
// Save the length of this stream...