summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/sqlite3_test_fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/mbgl/test/sqlite3_test_fs.cpp')
-rw-r--r--test/src/mbgl/test/sqlite3_test_fs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/mbgl/test/sqlite3_test_fs.cpp b/test/src/mbgl/test/sqlite3_test_fs.cpp
index e4f958c900..068ae9e1cf 100644
--- a/test/src/mbgl/test/sqlite3_test_fs.cpp
+++ b/test/src/mbgl/test/sqlite3_test_fs.cpp
@@ -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);
}
}