sapling/eden/fs/sqlite
Adam Simpkins 904812bc0d avoid leaking the sqlite3 db if we fail to open it
Summary:
We need to call sqlite3_close() if sqlite3_open() fails to avoid leaking the
DB object that was allocated.

Reviewed By: chadaustin, strager

Differential Revision: D8529745

fbshipit-source-id: 1087dac8343b8b3120c89bd3c9a250970e69df8e
2018-06-20 16:36:22 -07:00
..
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
Sqlite.cpp avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00
Sqlite.h avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00