diff options
-rw-r--r-- | src/database.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index 996a2c5..7e4de95 100644 --- a/src/database.c +++ b/src/database.c @@ -67,6 +67,8 @@ static void destroy_entry(db_entry *entry) next = job->waiting_list.next; job_destroy(job); } + + free(entry); } // Frees all entries and resets the database. |