freebsd-ports/textproc/p5-Text-Template/files/patch-lib_Text_Template.pm
Frederic Culot 3be13e4d84 - Add a patch to fix a memory leak [1]
- Bump PORTREVISION [1]
- Add LICENSE (Artistic 1 & GPL 2)

PR:		ports/166198 [1]
Submitted by:	Zane C.B-H. <vvelox@vvelox.net>
Feature safe:	yes
2012-04-06 13:34:23 +00:00

10 lines
285 B
Perl

--- lib/Text/Template.pm.orig 2008-04-16 18:38:08.000000000 -0500
+++ lib/Text/Template.pm 2012-03-17 06:44:14.882739137 -0500
@@ -428,6 +428,8 @@
foreach my $key (keys %$hash) {
undef $hash->{$key};
}
+ %$hash = ();
+ delete $Text::Template::{$s."::"};
}
}