Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvr: coverity - fix dvr_entry_class_channel_name_set()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent a1e10f7 commit fd0282f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvr/dvr_db.c
Expand Up @@ -1263,7 +1263,7 @@ dvr_entry_class_channel_name_set(void *o, const void *v)
return dvr_entry_class_channel_set(o, idnode_uuid_as_str(&ch->ch_id));
} else {
free(de->de_channel_name);
de->de_channel_name = strdup(v);
de->de_channel_name = v ? strdup(v) : NULL;
return 1;
}
}
Expand Down

0 comments on commit fd0282f

Please sign in to comment.