summaryrefslogtreecommitdiffstats
path: root/Stash.xs
diff options
context:
space:
mode:
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 aefe1b1..42b3ee5 100644
--- a/Stash.xs
+++ b/Stash.xs
@@ -120,6 +120,7 @@ void _deconstruct_variable_hash(HV *variable, varspec_t *varspec)
croak("The 'name' key is required in variable specs");
varspec->name = savesvpv(*val);
+ SAVEFREEPV(varspec->name);
val = hv_fetch(variable, "sigil", 5, 0);
if (!val)