Free the query DAO.
authorJohan Vervloet <johanv@johanv.org>
Fri, 6 Mar 2015 07:53:56 +0000 (08:53 +0100)
committereileenmcnaugton <eileen@fuzion.co.nz>
Wed, 12 Aug 2015 23:39:29 +0000 (11:39 +1200)
Not sure whether this is really necessary. But I just did to
be safe.

api/v3/utils.php

index 595031f36f28fbe1b3c4de6d5a1b75a6f049cdde..4c41763f6b0de74eaaa7eacd0023ddf7cf75d2a0 100644 (file)
@@ -623,6 +623,7 @@ function _civicrm_api3_get_using_query_object_simple($dao_name, $params) {
       }
     };
   }
+  $result_dao->free();
 
   return civicrm_api3_create_success($result_entities, $params, $entity, 'get', $dao);
 }