summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/zlibmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 6f416b4..87f5794 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -332,6 +332,7 @@ Comp_dealloc(self)
{
int err;
err=deflateEnd(&self->zst); /* Deallocate zstream structure */
+ PyMem_DEL(self);
}
static void
@@ -340,6 +341,7 @@ Decomp_dealloc(self)
{
int err;
err=inflateEnd(&self->zst); /* Deallocate zstream structure */
+ PyMem_DEL(self);
}
static char comp_compress__doc__[] =