summaryrefslogtreecommitdiff
path: root/src/block_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block_template.c')
-rw-r--r--src/block_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block_template.c b/src/block_template.c
index d555ceb..99aee43 100644
--- a/src/block_template.c
+++ b/src/block_template.c
@@ -84,6 +84,7 @@ static void
ALGdealloc(PyObject *ptr)
{
ALGobject *self = (ALGobject *)ptr;
+ block_finalize(&self->st);
/* Overwrite the contents of the object */
Py_XDECREF(self->counter);