From 0c71340c9fecfad17d2619dfa44cb669023f8179 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 5 Sep 2008 21:55:01 -0400 Subject: free and unset DB_DataObjects after we're done with them darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz --- lib/omb.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/omb.php') 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 -- cgit v1.2.3-54-g00ecf