Allocate, deallocate and NULL the rtp_event_thread memory space so that it is only deleted once!

This commit is contained in:
Mike Brady
2021-09-18 12:22:57 +01:00
parent ef9c46610c
commit 4a82745561
2 changed files with 26 additions and 8 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ typedef struct {
airplay_stream_t airplay_stream_type; // is it realtime audio or buffered audio...
timing_t timing_type; // are we using NTP or PTP on this connection?
pthread_t rtp_event_thread;
pthread_t *rtp_event_thread;
pthread_t rtp_ap2_control_thread;
pthread_t rtp_realtime_audio_thread;
pthread_t rtp_buffered_audio_thread;