]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8370 [mod_rayo] found another place in <prompt> where a message was freed after...
authorChris Rienzo <chris.rienzo@citrix.com>
Fri, 23 Oct 2015 03:03:15 +0000 (23:03 -0400)
committerChris Rienzo <chris.rienzo@citrix.com>
Fri, 23 Oct 2015 03:12:39 +0000 (23:12 -0400)
src/mod/event_handlers/mod_rayo/rayo_prompt_component.c

index 720a164d30710842d208a5303997bc98de22e0ea..15add81d795ad554b47d85294d4f24be8ed40b76 100644 (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);