free http streaming ts buffer when a service stops
This commit is contained in:
parent
77a6f4df8d
commit
f3da081bba
1 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,8 @@ service_stop(service_t *t)
|
|||
TAILQ_FOREACH(st, &t->s_components, es_link)
|
||||
stream_clean(st);
|
||||
|
||||
sbuf_free(&t->s_tsbuf);
|
||||
|
||||
t->s_status = SERVICE_IDLE;
|
||||
|
||||
pthread_mutex_unlock(&t->s_stream_mutex);
|
||||
|
|
Loading…
Add table
Reference in a new issue