From a512c9253cf1d640884c673b32e7557ae5f5d1ce Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 1 Jan 2016 21:32:36 -0500 Subject: [PATCH] Free dao memory during api basic get --- api/v3/utils.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/utils.php b/api/v3/utils.php index dc71983581..74d0742a95 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -569,6 +569,7 @@ function _civicrm_api3_get_using_utils_sql($dao_name, $params, $isFillUniqueFiel } // build query $query = CRM_Utils_SQL_Select::from($dao->tableName() . " a"); + $dao->free(); // populate $where_clauses foreach ($params as $key => $value) { -- 2.25.1