]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
mem leak
authorGuido van Rossum <guido@python.org>
Thu, 26 Jan 1995 00:37:01 +0000 (00:37 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Jan 1995 00:37:01 +0000 (00:37 +0000)
Modules/regexmodule.c

index 41ae9caf88aaab1a9592ee17d58af8bc785ad75a..b9f75a045be715fec474df71507819fd55c18da7 100644 (file)
@@ -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);