Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
opentv: another coverity scan fix
  • Loading branch information
perexg committed Mar 22, 2015
1 parent d8e7baf commit c308e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epggrab/module/opentv.c
Expand Up @@ -706,9 +706,9 @@ static void _opentv_compile_pattern_list ( opentv_pattern_list_t *list, htsmsg_t
TAILQ_INIT(list);
if (!l) return;
HTSMSG_FOREACH(f, l) {
pattern = calloc(1, sizeof(opentv_pattern_t));
s = htsmsg_field_get_str(f);
if (s == NULL) continue;
pattern = calloc(1, sizeof(opentv_pattern_t));
pattern->text = strdup(s);
if (regcomp(&pattern->compiled, pattern->text, REG_EXTENDED)) {
tvhlog(LOG_WARNING, "opentv", "error compiling pattern \"%s\"", pattern->text);
Expand Down

0 comments on commit c308e17

Please sign in to comment.