database_info_list_iterate_next - set db_state->info to NULL

after freeing
This commit is contained in:
twinaphex 2015-05-28 02:55:39 +02:00
parent cc2234401d
commit fe5880355d

View File

@ -201,7 +201,9 @@ static int database_info_list_iterate_next(
{
db_state->list_index++;
db_state->entry_index = 0;
database_info_list_free(db_state->info);
db_state->info = NULL;
return 1;
}