fc->src_data may well be NULL here, for example if para_server is
not currently playing.
This bug was introduced in the previous commit after the topic branch
had been promoted to next.
list_del(&fc->node);
free(fc->enc_buf);
- for (i = 0; i < fc_num_data_slices(fc); i++)
- free(fc->src_data[i]);
- free(fc->src_data);
+ if (fc->src_data) {
+ for (i = 0; i < fc_num_data_slices(fc); i++)
+ free(fc->src_data[i]);
+ free(fc->src_data);
+ }
fec_free(fc->parms);
free(fc);
}