aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 16:42:00 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 16:42:00 +0100
commit5b38312b92607247afee1532d78ccc88f001c933 (patch)
tree8ffdcc2eab3a02228927802dce4853ee780d020f /openbsc
parent49b83d8f67183276e616a2c081497bc06a55716d (diff)
use sqlite3_close() instead of sqlite3_close_v2()
This allows using sqlite3 v3.7.13, used by our current debian installation in the test setup. _v2 was added in v3.7.14.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/utils/meas_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/utils/meas_db.c b/openbsc/src/utils/meas_db.c
index ea44cd922..2e70b313b 100644
--- a/openbsc/src/utils/meas_db.c
+++ b/openbsc/src/utils/meas_db.c
@@ -317,7 +317,7 @@ void meas_db_close(struct meas_db_state *st)
sqlite3_finalize(st->stmt_ins_mr);
sqlite3_finalize(st->stmt_ins_ud);
sqlite3_finalize(st->stmt_upd_mr);
- sqlite3_close_v2(st->db);
+ sqlite3_close(st->db);
talloc_free(st);