(database_info.c) Cleanup

This commit is contained in:
twinaphex 2015-04-11 09:04:48 +02:00
parent be96b95dda
commit e6ba8128b8

View File

@ -94,7 +94,7 @@ int database_info_write_rdl_iterate(database_info_rdl_handle_t *dbl)
char parent_dir[PATH_MAX_LENGTH];
const char *name = NULL;
if (!dbl)
if (!dbl || !dbl->list)
return -1;
if (dbl->blocking)
return 1;