From: lpsolit%gmail.com <> Date: Wed, 30 Jan 2008 01:21:05 +0000 (+0000) Subject: Bug 414002: Temporary files for uploaded attachments are not deleted on Windows ... X-Git-Tag: bugzilla-3.0.4~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b99c947156b9365ea5428da98d5028caf08eb65;p=thirdparty%2Fbugzilla.git Bug 414002: Temporary files for uploaded attachments are not deleted on Windows - Patch by Steve Hay r/a=LpSolit --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 7b76f6af09..7fe02049e4 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -54,7 +54,10 @@ $::SIG{PIPE} = 'IGNORE'; # We need to do so, too, otherwise perl dies when the object is destroyed # and we don't have a DESTROY method (because CGI.pm's AUTOLOAD will |die| # on getting an unknown sub to try to call) -sub DESTROY {}; +sub DESTROY { + my $self = shift; + $self->SUPER::DESTROY(@_); +}; sub new { my ($invocant, @args) = @_;