Squash the last gcc warnings

This commit is contained in:
Maarten Bosmans 2011-09-02 14:11:51 +02:00 committed by Colin Guthrie
parent 647048ebc4
commit dfd706da71
2 changed files with 3 additions and 2 deletions

View file

@ -203,7 +203,7 @@ static void ext_device_restore_read_device_formats_cb(pa_pdispatch *pd, uint32_t
uint8_t k;
pa_context_fail(o->context, PA_ERR_PROTOCOL);
for (k = 0; k <= j; k++)
for (k = 0; k < j+1; k++)
pa_format_info_free(i.formats[k]);
pa_xfree(i.formats);
goto finish;