From: Johan Vervloet Date: Fri, 6 Mar 2015 07:53:56 +0000 (+0100) Subject: Free the query DAO. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e13654dc8ed6c04a7551a35a157d953b810e562a;p=civicrm-core.git Free the query DAO. Not sure whether this is really necessary. But I just did to be safe. --- diff --git a/api/v3/utils.php b/api/v3/utils.php index 595031f36f..4c41763f6b 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -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); }