FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message.

This commit is contained in:
Chris Rienzo 2015-09-01 13:43:30 -04:00
parent 9608ce9f5f
commit 070f53205e
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static iks *prompt_component_handle_output_error(struct rayo_actor *prompt, stru
RAYO_SEND_REPLY(prompt, RAYO_COMPONENT(prompt)->client_jid, iq); RAYO_SEND_REPLY(prompt, RAYO_COMPONENT(prompt)->client_jid, iq);
/* done */ /* done */
iks_delete(PROMPT_COMPONENT(prompt)->iq); PROMPT_COMPONENT(prompt)->iq = NULL;
RAYO_RELEASE(prompt); RAYO_RELEASE(prompt);
RAYO_DESTROY(prompt); RAYO_DESTROY(prompt);