remove condition for mem leak

This commit is contained in:
Anthony Minessale 2013-11-12 12:33:28 -06:00
parent 043376b2db
commit 931d3fb86a
1 changed files with 4 additions and 0 deletions

View File

@ -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);