You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2004/02/19 19:46:48 UTC

svn commit: rev 6781 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin

Author: jm
Date: Thu Feb 19 10:46:48 2004
New Revision: 6781

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
moved finish_metadata() call in PMS to finish()

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm	Thu Feb 19 10:46:48 2004
@@ -221,7 +221,6 @@
 
   $report =~ s/\n*$/\n\n/s;
   $self->{report} = $report;
-  $self->{msg}->finish_metadata();
 
   $self->{main}->call_plugins ("check_end", { permsgstatus => $self });
 }
@@ -973,7 +972,10 @@
 	  permsgstatus => $self
 	});
 
-  delete $self->{body_text_array};
+  # tell the message object to clean up its metadata, we won't need
+  # it any more
+  $self->{msg}->finish_metadata();
+
   delete $self->{main};
   delete $self->{msg};
   delete $self->{conf};