dev/core#562 remove calls to dao->free() from api folder
authoreileen <emcnaughton@wikimedia.org>
Thu, 3 Jan 2019 21:34:56 +0000 (10:34 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 3 Jan 2019 21:34:56 +0000 (10:34 +1300)
commitb026ac81066adf6369c8a49cf00e3b9f7815df11
tree10d2ea87259b9be30cedcc0de5818a50bca65147
parentaaa8f311fc07d2d048d2b74c67b8fcbc55442023
dev/core#562 remove calls to dao->free() from api folder

Per gitlab

The DAO object since ? 4.7.x? has been freed on _destruct. Using the ->free action has been demonstrated to create some rare bugs - ie. because query sets from the outer loop can be lost. There is no benefit in calling it any more and some harm

https://github.com/civicrm/civicrm-core/pull/13192 was the last one in this series
api/v3/Activity.php
api/v3/Mailing.php
api/v3/MembershipStatus.php
api/v3/utils.php