Module: sems Branch: 1.4 Commit: 23694e99b4572d4c2b22f89857b6aaa442e8bee9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=23694e99b4572d4c2b22f89857b6aaa442e8bee9
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Thu Oct 13 12:17:22 2011 +0200 b/f: fixed mem leak accumulating sip requests on failed auth --- core/plug-in/uac_auth/UACAuth.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/core/plug-in/uac_auth/UACAuth.cpp b/core/plug-in/uac_auth/UACAuth.cpp index ec9b5a8..327b8f5 100644 --- a/core/plug-in/uac_auth/UACAuth.cpp +++ b/core/plug-in/uac_auth/UACAuth.cpp @@ -206,7 +206,8 @@ bool UACAuth::onSipReply(const AmSipReply& reply, int old_dlg_status, const stri ERROR("failed to send authenticated request.\n"); } } - } + } + sent_requests.erase(ri); } } else if (reply.code >= 200) { sent_requests.erase(reply.cseq); // now we dont need it any more _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
