diff --git a/src/database.c b/src/database.c index 22e36da..00b8d8e 100644 --- a/src/database.c +++ b/src/database.c @@ -142,6 +142,8 @@ simdb_close(simdb_t *db) { if (db->fd >= 0) close(db->fd); + + FREE(db); } const char *