summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-30 21:04:35 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-30 21:04:35 -0400
commitf134ba68ab6a7e9f94579d2a4e1f02eca2a7ebc0 (patch)
treea8cf4d1d30c75667674b78e457655ea766c305b3 /scripts
parentda0d2a9745ea072cd261990e152d08198331a415 (diff)
free memory for each iteration DB_DataObject in fixup_utf8
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fixup_utf8.php3
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";
}