Remove bad assert

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.
This commit is contained in:
Takashi Iwai 2006-01-27 11:54:06 +00:00
parent d9cfe1e9ff
commit b23f367ee3

View file

@ -3105,7 +3105,6 @@ int snd_config_update_free(snd_config_update_t *update)
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)