From 74e7d69032fa6a810bbe3862920f6454c9d8f33d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 16 Aug 2005 14:46:18 +0000 Subject: [PATCH] Fix memory leak in mxmlLoad*() functions (STR #27) Fix default implementation of mxml_error() to properly format the error message. --- CHANGES | 4 +++- doc/relnotes.html | 3 +++ mxml-file.c | 35 ++++++++++++++++++++++++++--------- mxml-private.c | 10 ++-------- 4 files changed, 34 insertions(+), 18 deletions(-) diff --git a/CHANGES b/CHANGES index a8ad72d..752015b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,8 +1,10 @@ -CHANGES - 08/10/2005 +CHANGES - 08/16/2005 -------------------- CHANGES IN Mini-XML 2.2.3 + - The mxmlLoad*() functions could leak a node on an error + (STR #27) - The mxml_vsnprintf() function could get in an infinite loop on a buffer overflow (STR #25) - Added new mxmlNewCDATA() and mxmlSetCDATA() functions diff --git a/doc/relnotes.html b/doc/relnotes.html index dde266d..7b62276 100644 --- a/doc/relnotes.html +++ b/doc/relnotes.html @@ -7,6 +7,9 @@