Free temporary string
Florian Ragwitz [Sat, 13 Nov 2010 16:07:59 +0000 (17:07 +0100)]
Stash.xs

index f744723..17b9c64 100644 (file)
--- a/Stash.xs
+++ b/Stash.xs
@@ -406,6 +406,8 @@ add_package_symbol(self, variable, initial=NULL, ...)
         }
     }
 
+    SvREFCNT_dec(name);
+
 void
 remove_package_glob(self, name)
     SV *self