Commit 86d8ac3b authored by johan's avatar johan
Browse files

Fix memory leak

parent 361b8e86
......@@ -610,6 +610,8 @@ int state_keyAgreement_sendingCommit(bzrtpEvent_t event) {
zrtpChannelContext->selfPackets[COMMIT_MESSAGE_STORE_ID] = NULL;
/* this will update the context channel and run the next state according to current mode */
return bzrtp_turnIntoResponder(zrtpContext, zrtpChannelContext, zrtpPacket, peerCommitMessage);
} else { /* we are iniator, just drop the incoming commit packet and keep send our */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment