Skip to content

Conversation

@os12
Copy link
Contributor

@os12 os12 commented Jun 22, 2019

  • this block must be explicitly free'd, even though other similar things
    are automatically handled during statement finalization

https://www.sqlite.org/c3ref/expanded_sql.html

Fix #203

 - this block must be explicitly free'd, even though other similar things
   are automatically handled during statement finalization

https://www.sqlite.org/c3ref/expanded_sql.html

Fix SRombauts#203
@maxbachmann
Copy link
Contributor

maxbachmann commented Jun 24, 2019

you should not use the auto keyword in this place, since it requires c++11
edit: just read pre c++11 support will be dropped in the next major release in #182

@SRombauts
Copy link
Owner

Thank you to you two.

For now it makes no sense to drop support for older compiler just for this sort of use of auto.

@SRombauts
Copy link
Owner

For reference, this bug was introduced only a few days ago in #201

SRombauts added a commit that referenced this pull request Jun 24, 2019
@SRombauts
Copy link
Owner

I implemented Address Sanitizer to reproduce the problem, and fixed it on master.

Thanks again

@SRombauts SRombauts closed this Jun 24, 2019
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.

Memory leaks reported by the ASan build

3 participants