mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[raop] master_session_free should allow null as argument
This commit is contained in:
parent
3e4766ffaa
commit
d762bd0a56
@ -1805,6 +1805,9 @@ master_session_make(struct media_quality *quality, bool encrypt)
|
||||
static void
|
||||
master_session_free(struct raop_master_session *rms)
|
||||
{
|
||||
if (!rms)
|
||||
return;
|
||||
|
||||
outputs_quality_unsubscribe(&rms->rtp_session->quality);
|
||||
rtp_session_free(rms->rtp_session);
|
||||
evbuffer_free(rms->evbuf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user