Commit accba9b5 authored by Vysheng's avatar Vysheng

binlog.c: fixed tfree len

parent 77f56cfd
......@@ -513,7 +513,7 @@ void replay_log_event (void) {
case CODE_binlog_set_dh_params:
rptr ++;
{
if (encr_prime) { tfree_str (encr_prime); }
if (encr_prime) { tfree (encr_prime, 256); }
encr_root = *(rptr ++);
encr_prime = talloc (256);
memcpy (encr_prime, rptr, 256);
......
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