diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-30 21:04:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-30 21:04:35 -0400 |
commit | f134ba68ab6a7e9f94579d2a4e1f02eca2a7ebc0 (patch) | |
tree | a8cf4d1d30c75667674b78e457655ea766c305b3 | |
parent | da0d2a9745ea072cd261990e152d08198331a415 (diff) |
free memory for each iteration DB_DataObject in fixup_utf8
-rw-r--r-- | scripts/fixup_utf8.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fixup_utf8.php b/scripts/fixup_utf8.php index 2046d2b77..f9debd3ec 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"; } |