From 68b6deefbf9f931d7713631b85faac4f2c402356 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 12 Jul 2019 10:51:53 +0200 Subject: Fix segfault in iq_{submit,cancel}_command_config Taken care of by the destructor. --- src/xmpp/iq.c | 6 ------ 1 file changed, 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 -- cgit 1.4.1-2-gfad0 Fork of Lua 5.1 to encourage end-user programmingKartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/counter.tlv
blob: 2fff4f22df1dfde7846f503a50b8df55364b7845 (plain) (tree)