diff --git a/db.cc b/db.cc index cf7b9a1..ee8962c 100644 --- a/db.cc +++ b/db.cc @@ -93,6 +93,8 @@ bool GDBM_::fill_database(DB_ * old_database){ if (status != 0) return false; } + free(data_db); + free(key_db); return true; }