Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc_md: coverity - NULL check
  • Loading branch information
perexg committed May 23, 2016
1 parent bdc29e4 commit 65c7d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webui/doc_md.c
Expand Up @@ -104,6 +104,8 @@ md_props(htsbuf_queue_t *hq, htsmsg_t *m, const char *lang, int nl)
int first = 1, b;

l = htsmsg_get_list(m, "props");
if (l == NULL)
return nl;
HTSMSG_FOREACH(f, l) {
n = htsmsg_field_get_map(f);
if (!n) continue;
Expand Down

0 comments on commit 65c7d32

Please sign in to comment.