Perl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
authorNicholas Clark <nick@ccl4.org>
Sun, 5 Mar 2006 19:07:12 +0000 (19:07 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 5 Mar 2006 19:07:12 +0000 (19:07 +0000)
commitae8cc45f19735266b98e68ac96abd0c5050c140f
tree2a7bb46f4e08a63e1a40ec2c267201e32414866e
parent4164be692ecdc110086abd011eb6e1c41f13ed34
Perl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
to simplify GV initialisation.

p4raw-id: //depot/perl@27382
gv.c
gv.h
sv.c