(task_content.c) Fix explicit null dereferenced

This commit is contained in:
twinaphex 2016-06-05 19:03:23 +02:00
parent c1f9d7b498
commit 693ce8f6e5

View File

@ -1422,7 +1422,7 @@ static bool content_file_init(struct string_list *temporary_content)
if (!content)
goto error;
if (!init_content_file_set_attribs(temporary_content,
if (special && !init_content_file_set_attribs(temporary_content,
content, system, special))
goto error;