Fix database_cursor_close

This commit is contained in:
twinaphex 2015-05-25 02:04:29 +02:00
parent 57724f884c
commit ddc0fad327

View File

@ -235,6 +235,8 @@ int database_cursor_close(libretrodb_t *db, libretrodb_cursor_t *cur)
{ {
libretrodb_cursor_close(cur); libretrodb_cursor_close(cur);
libretrodb_close(db); libretrodb_close(db);
return 0;
} }
database_info_handle_t *database_info_init(const char *dir, enum database_type type) database_info_handle_t *database_info_init(const char *dir, enum database_type type)