提交 931d3fb8 authored 作者: Anthony Minessale's avatar Anthony Minessale

remove condition for mem leak

上级 043376b2
......@@ -1513,6 +1513,10 @@ ESL_DECLARE(esl_status_t) esl_send_recv_timed(esl_handle_t *handle, const char *
}
recv:
esl_event_safe_destroy(&handle->last_sr_event);
*handle->last_sr_reply = '\0';
status = esl_recv_event_timed(handle, ms, 0, &handle->last_sr_event);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论