diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-05-20 10:54:22 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-05-20 11:12:05 -0600 |
commit | 2ff402b77dbfaa8fc14230271f1a86423a26c0f8 (patch) | |
tree | a0ba0a965035c4d546d5605e37cdd405157c2774 /regcomp.c | |
parent | 09dcfa7d12b25dc89ac02dc0f060ecc80d0335b2 (diff) | |
download | perl-2ff402b77dbfaa8fc14230271f1a86423a26c0f8.tar.gz |
regcomp.c: Another memory leak regression
The reference count should be decremented upon freeing.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5980,6 +5980,7 @@ S_invlist_destroy(pTHX_ HV* const invlist) UV *list = INT2PTR(UV *, SvUV(*list_ptr)); /* PERL_POISON needs lvalue */ Safefree(list); } + SvREFCNT_dec(invlist); } STATIC void |