r56217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56216‎ | r56217 | r56218 >
Date:00:04, 12 September 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Quick fix that 3.1-3.5MB/edit memory leak from $status = $wgArticle->doEdit( TRANSLATE_FUZZY . $text, $comment, EDIT_FORCE_BOT );

Thanks ^demon for the help.
Modified paths:
  • /trunk/extensions/Translate/scripts/fuzzy.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/fuzzy.php
@@ -165,6 +165,7 @@
166166 STDOUT( "Failed!", $title );
167167 }
168168
 169+ unset( $status );
169170 }
170171
171172 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r56219Revert r56217. Actually didn't help a bit, I just compared apples and oranges...siebrand00:22, 12 September 2009

Status & tagging log