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

index b84f18da62812f97dabfb0f44775f2f20015519e..aa2587ef2a347d4e6f2e8bb1fa41778acea9685a 100644 (file)
@@ -48,7 +48,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) = @_;