mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 08:34:31 +01:00
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()].