mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
remove condition for mem leak
This commit is contained in:
parent
cf6d2c5003
commit
ea3aa83fd6
@ -1513,6 +1513,10 @@ ESL_DECLARE(esl_status_t) esl_send_recv_timed(esl_handle_t *handle, const char *
|
|||||||
}
|
}
|
||||||
|
|
||||||
recv:
|
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);
|
status = esl_recv_event_timed(handle, ms, 0, &handle->last_sr_event);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user