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

[sqlserver] properly close cursor, avoid leaks #1631

Merged
merged 1 commit into from
May 19, 2015
Merged

Conversation

LeoCavaille
Copy link
Member

We saw memory leak issues with that check. It could have been caused by
two different things:

  • The fact that we are not closing cursors properly, and therefore not
    freeing properly the recordsets loaded in them
  • We instantiated wrongly two different cursors in the main check loop
    letting one leak...

@hkaj
Copy link
Member

hkaj commented May 19, 2015

lgtm

We saw memory leak issues with that check. It could have been caused by
two different things:

* The fact that we are not closing cursors properly, and therefore not
  freeing properly the recordsets loaded in them
* We instantiated wrongly two different cursors in the main check loop
  letting one leak...
@LeoCavaille LeoCavaille merged commit e8547ce into master May 19, 2015
@LeoCavaille LeoCavaille deleted the leo/sqlserver branch May 19, 2015 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants