diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-07-12 10:51:53 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-07-12 10:57:07 +0200 |
commit | 68b6deefbf9f931d7713631b85faac4f2c402356 (patch) | |
tree | b825c784b0b61a722adce4606d7b5df64f6d7b80 | |
parent | 04988ab4ba6bcf723131d58ac60f3d9621dfe047 (diff) | |
download | profani-tty-68b6deefbf9f931d7713631b85faac4f2c402356.tar.gz |
Fix segfault in iq_{submit,cancel}_command_config
Taken care of by the destructor.
-rw-r--r-- | src/xmpp/iq.c | 6 |
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 |