This fixes a harmless memory leak which occurs when para_server terminates
while a header stream is active.
struct vss_task *vsst = context;
ret = task_get_notification(vsst->task);
- if (ret < 0)
+ if (ret < 0) {
+ afh_free_header(vsst->header_buf, mmd->afd.audio_format_id);
return ret;
+ }
if (!vsst->map || vss_next() || vss_paused() || vss_repos()) {
/* shut down senders and fec clients */
struct fec_client *fc, *tmp;