Mailing List Archive

svn commit: r1338469 - /spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Author: mmartinec
Date: Mon May 14 22:43:39 2012
New Revision: 1338469

URL: http://svn.apache.org/viewvc?rev=1338469&view=rev
Log:
Bug 5808, localize $@ in DESTROY

Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=1338469&r1=1338468&r2=1338469&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Mon May 14 22:43:39 2012
@@ -139,6 +139,7 @@ sub new {

sub DESTROY {
my ($self) = shift;
+ local $@;
eval { $self->delete_fulltext_tmpfile() }; # Bug 5808
}