Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#562 remove more instances of ->free() #13786

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Minor code cleanup

Before

Unnecessary code / deprecated code pattern more present

After

Less unnecessary code / deprecated code pattern present

Technical Details

Per https://lab.civicrm.org/dev/core/issues/562 we have been incrementally removing these as

  1. we free resources on DAO->_destruct now and
  2. in some edge cases freeing resources in an 'inner loop' can free outer loop
    resources - resulting in a hard-to-analyse bug

Comments

Per https://lab.civicrm.org/dev/core/issues/562 we have been incrementally removing these as
1) we free resources on DAO->_destruct now and
2) in some edge cases freeing resources in an 'inner loop' can free outer loop
resources - resulting in a hard-to-analyse bug
@civibot
Copy link

civibot bot commented Mar 7, 2019

(Standard links)

@civibot civibot bot added the master label Mar 7, 2019
@eileenmcnaughton eileenmcnaughton merged commit 238556e into civicrm:master Mar 7, 2019
@eileenmcnaughton eileenmcnaughton deleted the free branch March 7, 2019 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants