Skip to content
Snippets Groups Projects
Commit a3c9a74a authored by Kevin Harwell's avatar Kevin Harwell
Browse files

chan_pjsip: ref leak when checking direct_media_glare

Fix the reference leak introduced in the following commit:

c534bd58

ASTERISK-25849

Change-Id: I5cfefd5ee6c1c3a1715c050330aaa10e4d2a5e85
parent 4aaf8f2a
No related branches found
No related tags found
No related merge requests found
......@@ -348,6 +348,7 @@ static int send_direct_media_request(void *data)
if (direct_media_mitigate_glare(cdata->session)) {
ast_debug(4, "Disregarding setting RTP on %s: mitigating re-INVITE glare\n", ast_channel_name(cdata->chan));
ao2_ref(cdata, -1);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment