summaryrefslogtreecommitdiffstats
path: root/Stash.xs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-11-13 11:48:10 -0600
committerJesse Luehrs <doy@tozt.net>2010-11-13 11:48:10 -0600
commit02b2a57f5ce745d7989c3fc74d054c6e1c71ee49 (patch)
treecde0b3dba148802d6529830063788bae6ee9b519 /Stash.xs
parent12134e83d1a206c1305977bf3d986f2d91aa85a2 (diff)
downloadpackage-stash-xs-02b2a57f5ce745d7989c3fc74d054c6e1c71ee49.tar.gz
package-stash-xs-02b2a57f5ce745d7989c3fc74d054c6e1c71ee49.zip
one more memory leak
Diffstat (limited to 'Stash.xs')
-rw-r--r--Stash.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Stash.xs b/Stash.xs
index 4161ac6..9f8ee77 100644
--- a/Stash.xs
+++ b/Stash.xs
@@ -216,6 +216,7 @@ SV *_get_package_symbol(SV *self, varspec_t *variable, int vivify)
/* can't use gv_init here, because it screws up @ISA in a way that I
* can't reproduce, but that CMOP triggers */
gv_fetchsv(namesv, GV_ADD, vartype_to_svtype(variable->type));
+ SvREFCNT_dec(namesv);
}
if (vivify) {