Skip to content

Commit

Permalink
b2b_sdp_demux: fix pkg memory leak on re-INVITEs
Browse files Browse the repository at this point in the history
Thanks go to Norm Brandinger and Suchi Sahoo from Five9 for reporting
  • Loading branch information
razvancrainea committed Aug 18, 2022
1 parent a823a08 commit 644b57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/b2b_sdp_demux/b2b_sdp_demux.c
Expand Up @@ -1497,6 +1497,7 @@ static int b2b_sdp_server_invite(struct sip_msg *msg, struct b2b_sdp_ctx *ctx)
LM_ERR("[%.*s] could not send re-INVITE to client!\n", ctx->callid.len, ctx->callid.s);
}
lock_release(&ctx->lock);
free_sdp_content(&sdp);

return 0;
error:
Expand Down

0 comments on commit 644b57b

Please sign in to comment.