From b1f3364eee449a25e55833bea6d716125e0cb8dd Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 25 Jun 2012 19:42:38 +0200 Subject: [PATCH] Maybe fix out of memory..? --- lib/vcategories.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vcategories.php b/lib/vcategories.php index ee357c350d..ee7a1d2883 100644 --- a/lib/vcategories.php +++ b/lib/vcategories.php @@ -135,8 +135,9 @@ class OC_VCategories { $vobject = OC_VObject::parse($object); if(!is_null($vobject)) { $this->loadFromVObject($vobject, $sync); + unset($vobject); } else { - OC_Log::write('core','OC_VCategories::rescan, unable to parse. ID: '.', '.substr($object, 0, 100).'(...)', OC_Log::DEBUG); + OC_Log::write('core','OC_VCategories::rescan, unable to parse. ID: '.', '.substr($object, 0, 100).'(...)', OC_Log::DEBUG); } } $this->save();