changeset 1198:3a2ac3d96eed

Fix a segfault in XMPP Ping support There is no allocation in jutil_iqresult() so x must not be freed.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 27 Apr 2007 22:31:30 +0200
parents 6f602d3270a4
children 1491a59226f4
files mcabber/src/jab_iq.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/jab_iq.c	Fri Apr 27 00:37:57 2007 +0200
+++ b/mcabber/src/jab_iq.c	Fri Apr 27 22:31:30 2007 +0200
@@ -1257,7 +1257,6 @@
   xmlnode x;
   x = jutil_iqresult(xmldata);
   jab_send(jc, x);
-  xmlnode_free(x);
 }
 
 static void handle_iq_version(jconn conn, char *from, const char *id,