[core][test] fix leaks from sqlite usage

This commit is contained in:
Dane Springmeyer
2019-08-15 14:02:26 -07:00
committed by Thiago Marcos P. Santos
parent 0f34eb7b25
commit 1165f62df6
2 changed files with 2 additions and 0 deletions

View File

@@ -278,6 +278,7 @@ SQLite3TestFS::~SQLite3TestFS() {
sqlite3_vfs* test_fs = sqlite3_vfs_find("test_fs");
if (test_fs) {
sqlite3_vfs_unregister(test_fs);
sqlite3_free((void*)test_fs);
}
}