]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 414002: Temporary files for uploaded attachments are not deleted on Windows ...
authorlpsolit%gmail.com <>
Wed, 30 Jan 2008 01:19:36 +0000 (01:19 +0000)
committerlpsolit%gmail.com <>
Wed, 30 Jan 2008 01:19:36 +0000 (01:19 +0000)
Bugzilla/CGI.pm

index 81141e1cb40b0128a15a0b0b2ce21133e26525f7..aeb8419ca7f7913356d918804afba4d722489c4e 100644 (file)
@@ -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) = @_;