Commit 8dfcd942 authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi

attempt fix for race condition

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16064 d0543943-73ff-0310-b7d9-9358b9ac24b2
parent a45fa69c
......@@ -671,7 +671,7 @@ nua_event_data_t const *nua_event_data(nua_saved_event_t const saved[1])
*/
void nua_destroy_event(nua_saved_event_t saved[1])
{
if (saved) su_msg_destroy(saved);
if (saved && saved[0]) su_msg_destroy(saved);
}
/** @internal Move signal. */
......
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