Adrian M. Enache [Wed, 10 Dec 2003 06:05:58 +0000 (08:05 +0200)]
Message-ID: <
20031210040558.GC1584@ratsnest.hole>
(1st hunk), plus the equivalent for hv_delete_common
p4raw-id: //depot/perl@21905
return 0;
if (keysv) {
+ if (flags & HVhek_FREEKEY)
+ Safefree(key);
key = SvPV(keysv, klen);
flags = 0;
is_utf8 = (SvUTF8(keysv) != 0);
return Nullsv;
if (keysv) {
+ if (k_flags & HVhek_FREEKEY)
+ Safefree(key);
key = SvPV(keysv, klen);
k_flags = 0;
is_utf8 = (SvUTF8(keysv) != 0);