* 06/2000
* HISTORY
* $Log$
+ * Revision 1.3.4.3 2004/06/01 20:16:18 iliaa
+ * MFH: Fixed bug #28597 (xmlrpc_encode_request() incorrectly encodes chars in
+ * 200-210 range).
+ *
* Revision 1.3.4.2 2003/12/16 21:00:35 sniper
* MFH: fix compile warnings
*
#include "expat.h"
#include "encodings.h"
-#define my_free(thing) if(thing) {free(thing); thing = 0;}
+#define my_free(thing) if(thing) {free(thing); thing = NULL;}
#define XML_DECL_START "<?xml"
#define XML_DECL_START_LEN sizeof(XML_DECL_START) - 1
Q_Destroy(&root->children);
Q_Destroy(&root->attrs);
- my_free((char*)root->name);
+ if(root->name) {
+ free((char *)root->name);
+ root->name = NULL;
+ }
simplestring_free(&root->text);
my_free(root);
}