summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-10-05 17:13:17 +0200
committerxengineering <me@xengineering.eu>2022-10-05 17:13:17 +0200
commit30f3c5844539085d7716ef4ca93f4a88cc8de7be (patch)
tree792931d279bea010e9ff77fbad39385d8d96fc81
parentdba9f6e63eb01d889c551e3f59960d2b349fefd9 (diff)
downloadlimox-30f3c5844539085d7716ef4ca93f4a88cc8de7be.tar
limox-30f3c5844539085d7716ef4ca93f4a88cc8de7be.tar.zst
limox-30f3c5844539085d7716ef4ca93f4a88cc8de7be.zip
Remove bad xmpp_free() usage
This seems to reduce these random crashes.
-rw-r--r--net.c2
1 files changed, 0 insertions, 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;
}