Add a couple comments

This commit is contained in:
Pierre Pronchery 2017-05-22 23:27:06 +02:00
parent 725eb71ee1
commit cd940287dc
2 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ static int _set_label(MixerControlPlugin * radio, guint pos,
guint i;
MixerControlRadio * p;
/* FIXME free and reduce if necessary */
if(pos >= radio->radios_cnt)
{
if((p = realloc(radio->radios, sizeof(*p) * (pos + 1))) == NULL)

View File

@ -151,6 +151,7 @@ static int _set_label(MixerControlPlugin * set, guint pos, String const * label)
guint i;
MixerControlSet * p;
/* FIXME free and reduce if necessary */
if(pos >= set->sets_cnt)
{
if((p = realloc(set->sets, sizeof(*p) * (pos + 1))) == NULL)