]> 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:23:56 +0000 (01:23 +0000)
committerlpsolit%gmail.com <>
Wed, 30 Jan 2008 01:23:56 +0000 (01:23 +0000)
Bugzilla/CGI.pm

index 3e86af033f2b5c0d6c6d1d07629cf1110a1f605f..6a434bdc01d3f2a34a23dbedeef8d26d4021216c 100644 (file)
@@ -40,7 +40,10 @@ $| = 1;
 # 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) = @_;