Skip to content

Commit

Permalink
[acc] fix leaking of AAA request for CDRs
Browse files Browse the repository at this point in the history
Closes #3019
Credits go to @medeanwz
  • Loading branch information
bogdan-iancu committed Apr 19, 2023
1 parent 6afd0e6 commit 8be5364
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/acc/acc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,8 @@ int acc_aaa_cdrs(struct dlg_cell *dlg, struct sip_msg *msg, acc_ctx_t* ctx)
error:
if (locked)
accX_unlock(&ctx->lock);
if (send)
proto.destroy_aaa_message(conn, send);
if (core_s.s)
pkg_free(core_s.s);
if (extra_s.s)
Expand Down

0 comments on commit 8be5364

Please sign in to comment.