From: Evan Prodromou Date: Sun, 31 May 2009 01:04:35 +0000 (-0400) Subject: free memory for each iteration DB_DataObject in fixup_utf8 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f134ba68ab6a7e9f94579d2a4e1f02eca2a7ebc0;p=quix0rs-gnu-social.git free memory for each iteration DB_DataObject in fixup_utf8 --- diff --git a/scripts/fixup_utf8.php b/scripts/fixup_utf8.php index 2046d2b770..f9debd3eca 100644 --- a/scripts/fixup_utf8.php +++ b/scripts/fixup_utf8.php @@ -163,6 +163,7 @@ class UTF8FixerUpper $notice = Notice::staticGet('id', $id); $notice->decache(); + $notice->free(); echo "OK\n"; } @@ -226,6 +227,7 @@ class UTF8FixerUpper $profile = Profile::staticGet('id', $id); $profile->decache(); + $profile->free(); echo "OK\n"; } @@ -289,6 +291,7 @@ class UTF8FixerUpper $user_group = User_group::staticGet('id', $id); $user_group->decache(); + $user_group->free(); echo "OK\n"; }