FS-8370 #resolve [mod_rayo] found another place in <prompt> where a message was freed after being queued for delivery. This resulted in a freed object being serialized, crashing FS.

This commit is contained in:
Chris Rienzo 2015-10-22 23:03:15 -04:00
parent e351f3565d
commit a711b7cd88
1 changed files with 1 additions and 1 deletions

View File

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