From: Vincent Pit Date: Wed, 4 Nov 2015 18:00:01 +0000 (-0200) Subject: Stop leaking the stash X-Git-Tag: v0.11~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=5162655c3a86217e485be50e4f5266b7ff713d70;p=perl%2Fmodules%2Fre-engine-Plugin.git Stop leaking the stash --- diff --git a/Plugin.xs b/Plugin.xs index 90e63fc..af917b7 100644 --- a/Plugin.xs +++ b/Plugin.xs @@ -369,6 +369,7 @@ Plugin_free(pTHX_ REGEXP * const RX) SvREFCNT_dec(self->pattern); SvREFCNT_dec(self->str); + SvREFCNT_dec(self->stash); SvREFCNT_dec(self->cb_exec);