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

Small memory leak when resultset is empty [CORE5289] #5567

Closed
firebird-issue-importer opened this issue Jun 22, 2016 · 4 comments
Closed

Small memory leak when resultset is empty [CORE5289] #5567

firebird-issue-importer opened this issue Jun 22, 2016 · 4 comments

Comments

@firebird-issue-importer

Submitted by: @hvlad

Is duplicated by CORE5342

Following scenario produced small memory leak at every loop iteration:

isc_dsql_allocate_statement
for (...)
{
isc_dsql_prepare
isc_dsql_execute
isc_dsql_fetch // returns end-of-stream, i.e. no results
isc_dsql_free_statement(..., DSQL_unprepare)
}

Commits: a725381 9d09321

====== Test Details ======

No way to emulate DSQL_unprepare in fdb

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 22, 2016

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 22, 2016

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0.1 [ 10730 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 23, 2016

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Cannot be tested

Test Details: No way to emulate DSQL_unprepare in fdb

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 10, 2016

Modified by: @dyemanov

Link: This issue is duplicated by CORE5342 [ CORE5342 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment