Commit 0679336f authored by Ian Goldberg's avatar Ian Goldberg
Browse files

Fix memory leak in otrl_auth_handle_signature

Thanks to Paul Wouters <paul@cypherpunks.ca> for the report.
parent c3301146
......@@ -1110,6 +1110,8 @@ gcry_error_t otrl_auth_handle_signature(OtrlAuthInfo *auth,
case OTRL_AUTHSTATE_V1_SETUP:
/* Ignore this message */
*havemsgp = 0;
free(buf);
buf = NULL;
break;
}
......
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