[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…
Reference in New Issue