From 30f3c5844539085d7716ef4ca93f4a88cc8de7be Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 5 Oct 2022 17:13:17 +0200 Subject: Remove bad xmpp_free() usage This seems to reduce these random crashes. --- net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net.c b/net.c index e5d8285..d940786 100644 --- a/net.c +++ b/net.c @@ -50,8 +50,6 @@ static int message_handler(xmpp_conn_t* conn, xmpp_stanza_t* stanza, data_add_incoming_message(sender, content); - xmpp_free(ctx, (void*)content); - return 1; } -- cgit v1.2.3-70-g09d2