Browse Source
wallet/test/run-wallet was failing the valgrind check; turns out `sqlite3_expanded_sql` expects you to manage the memory of strings it returns. from `sqlite3.h`: ** ^The string returned by sqlite3_expanded_sql(P), on the other hand, ** is obtained from [sqlite3_malloc()] and must be free by the application ** by passing it to [sqlite3_free()].pr-2587
lisa neigut
6 years ago
committed by
Rusty Russell
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue