summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-05 21:55:01 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-05 21:55:01 -0400
commit0c71340c9fecfad17d2619dfa44cb669023f8179 (patch)
tree1c936b6ffb2361a15a4e71fba2ffed5ce1226b73 /lib/omb.php
parent9e8ae6a1e79c51baeca1063810ad96dadeab714d (diff)
free and unset DB_DataObjects after we're done with them
darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index b1e8ab181..d4f53c332 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -132,6 +132,9 @@ function omb_broadcast_remote_subscribers($notice) {
}
}
+ $rp->free();
+ unset($rp);
+
return true;
}
@@ -160,6 +163,9 @@ function omb_post_notice_keys($notice, $postnoticeurl, $tk, $secret) {
$notice->id)));
$req->set_parameter('omb_notice_license', common_config('license', 'url'));
+ $user->free();
+ unset($user);
+
$req->sign_request(omb_hmac_sha1(), $con, $token);
# We re-use this tool's fetcher, since it's pretty good