修复性能测试时发现的内存泄漏的问题

This commit is contained in:
崔一鸣
2019-06-12 16:34:50 +08:00
parent 4974d605f8
commit 3788a9e87e

View File

@@ -1045,6 +1045,7 @@ static long keepalive_replay_search_cb(void *data, const uchar *key, uint size,
KNI_LOG_ERROR(logger, "Failed at send keepalive replay packet to tfe");
}
value->has_replayed = 1;
marsio_buff_free(marsio_handle->instance, &rx_buff, 1, 0, 0);
FREE(&replay_packet);
return 0;
}