about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/xmpp/iq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 63e28f89..95b3c67e 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -765,9 +765,6 @@ iq_submit_command_config(ProfConfWin *confwin)
 
     iq_send_stanza(iq);
     xmpp_stanza_release(iq);
-    free(data->sessionid);
-    free(data->command);
-    free(data);
 }
 
 void
@@ -778,9 +775,6 @@ iq_cancel_command_config(ProfConfWin *confwin)
     xmpp_stanza_t *iq = stanza_create_room_config_cancel_iq(ctx, confwin->roomjid);
     iq_send_stanza(iq);
     xmpp_stanza_release(iq);
-    free(data->sessionid);
-    free(data->command);
-    free(data);
 }
 
 static void