summaryrefslogtreecommitdiffstats
path: root/Modules/regexmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-26 00:37:01 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-26 00:37:01 (GMT)
commit12539604074f9fa05401022f5a6b5cde55a18e96 (patch)
tree64f29b470a7581e08184761a4116e0aae725cc16 /Modules/regexmodule.c
parentc9a35694167f4ee65454f0dfa8c662ddcd342bfd (diff)
downloadcpython-12539604074f9fa05401022f5a6b5cde55a18e96.zip
cpython-12539604074f9fa05401022f5a6b5cde55a18e96.tar.gz
cpython-12539604074f9fa05401022f5a6b5cde55a18e96.tar.bz2
mem leak
Diffstat (limited to 'Modules/regexmodule.c')
-rw-r--r--Modules/regexmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/regexmodule.c b/Modules/regexmodule.c
index 41ae9ca..b9f75a0 100644
--- a/Modules/regexmodule.c
+++ b/Modules/regexmodule.c
@@ -57,6 +57,7 @@ static void
reg_dealloc(re)
regexobject *re;
{
+ XDEL(re->re_patbuf.buffer);
XDECREF(re->re_translate);
XDECREF(re->re_lastok);
XDECREF(re->re_groupindex);