Commit 3d83b1ba authored by Moritz Grimm's avatar Moritz Grimm
Browse files

pCommandString can be NULL; propagate result

parent d05f0244
......@@ -285,6 +285,8 @@ openResource(stream_t stream, const char *filename, int *popenFlag,
pCommandString = _build_reencode_cmd(extension, filename,
cfg_stream, md);
if (NULL == pCommandString)
return (NULL);
if (md_p != NULL)
*md_p = md;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment