Skip to content

Commit 8be5364

Browse files
committed
[acc] fix leaking of AAA request for CDRs
Closes #3019 Credits go to @medeanwz
1 parent 6afd0e6 commit 8be5364

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/acc/acc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,8 @@ int acc_aaa_cdrs(struct dlg_cell *dlg, struct sip_msg *msg, acc_ctx_t* ctx)
10471047
error:
10481048
if (locked)
10491049
accX_unlock(&ctx->lock);
1050+
if (send)
1051+
proto.destroy_aaa_message(conn, send);
10501052
if (core_s.s)
10511053
pkg_free(core_s.s);
10521054
if (extra_s.s)

0 commit comments

Comments
 (0)