config: another coverity fix in config_modify_tag()

This commit is contained in:
Jaroslav Kysela 2014-10-03 15:58:30 +02:00
parent a28696f4f9
commit 3c7990b7e0

View file

@ -695,7 +695,7 @@ config_modify_tag( htsmsg_t *c, uint32_t id, const char *uuid, const void *aux )
htsmsg_delete_field(c, "index");
if (ch == NULL)
if (ch == NULL || uuid == NULL)
return;
HTSMSG_FOREACH(f, ch) {