b/f: fixed mem leak accumulating sip requests on failed auth

sayer/1.4-spce2.6
Stefan Sayer 15 years ago
parent 9d4437e9cb
commit 23694e99b4

@ -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

Loading…
Cancel
Save