git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Andrew Thompson 2009-03-10 17:47:35 +00:00
parent b1377e015b
commit 9371d827d8
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,7 @@ static switch_status_t handle_msg_fetch_reply(listener_t *listener, ei_x_buff *
switch_core_hash_delete(listener->fetch_reply_hash, uuid_str);
switch_core_hash_insert(listener->fetch_reply_hash, uuid_str, nbuf);
ei_x_encode_atom(rbuf, "ok");
return SWITCH_STATUS_SUCCESS;
} else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Found filled slot for %s\n", uuid_str);
ei_x_encode_tuple_header(rbuf, 2);
@ -206,6 +207,8 @@ static switch_status_t handle_msg_fetch_reply(listener_t *listener, ei_x_buff *
}
/*switch_core_hash_insert(listener->fetch_reply_hash, uuid_str, nbuf);*/
free(nbuf->buff);
free(nbuf);
}
return SWITCH_STATUS_SUCCESS;
}