rogerbinns / apsw

Another Python SQLite wrapper
https://rogerbinns.github.io/apsw/
Other
733 stars 97 forks source link

Cache strings for xNextSystemCall #430

Closed rogerbinns closed 1 year ago

rogerbinns commented 1 year ago

Currently strings are leaked because a bare const char * is handed off to SQLite C code forever. Cache them against the VFS object instead so they can be freed when the VFS is freed.