From: Pierre Ossman <drzeus-list@drzeus.cx>
Freeing the global config update structure when it had been created
without any configs present caused an assertion to trigger. Since this
is a valid scenario and the assertion didn't really protect against
anything, it should simply be removed. Attached patch does exactly that.
unsigned int k;
assert(update);
- assert(update->count > 0 && update->finfo);
for (k = 0; k < update->count; k++)
free(update->finfo[k].name);
if (update->finfo)