summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-18 04:23:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-18 04:23:12 +0000
commit02270b4e1187bc8d0def222ae3fb78581e1dc745 (patch)
tree3af6b9b70ffcbab12320fd78f064ea03a0b34a6c /mg.c
parent5c7a8c7888175e16e13670318410610dcb21c26f (diff)
downloadperl-02270b4e1187bc8d0def222ae3fb78581e1dc745.tar.gz
fix lvalue leaks stemming from failure to free LvTARG(sv)
p4raw-id: //depot/perl@1528
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mg.c b/mg.c
index 09441b3363..faceff4a3a 100644
--- a/mg.c
+++ b/mg.c
@@ -1386,13 +1386,6 @@ magic_setdefelem(SV *sv, MAGIC *mg)
return 0;
}
-int
-magic_freedefelem(SV *sv, MAGIC *mg)
-{
- SvREFCNT_dec(LvTARG(sv));
- return 0;
-}
-
void
vivify_defelem(SV *sv)
{