aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-04 11:37:05 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-04 11:37:05 +0000
commite5e5034111debe060863901dbfe3728cc30d6441 (patch)
tree6a8b7238801f15a0217f60313187b1a16e3297a2 /ChangeLog
parent31d84d44a39ef70cfa31982d0b3a96052d28c272 (diff)
downloadlibmicrohttpd-e5e5034111debe060863901dbfe3728cc30d6441.tar.gz
libmicrohttpd-e5e5034111debe060863901dbfe3728cc30d6441.zip
I was checking a test app in valgrind and much to my surprise it was complaining about a memleak in libmicrohttpd.
In check_argument_match() a buffer is allocated using strdup() but freed nowhere. I wouldn't have noticed this leak if it wasn't for valgrind because if a URI is requested without any arguments (my usual case) the buffer that gets allocated has 'only' a length of 1 byte, thus memory usage will build up very slowly over time. The patch attached fixes it. Btw. the indentation of that file is a mess, tabs and spaces are mixed :-| Regards, Andreas
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 792d194a..e8aa7c9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Thu Jun 4 13:37:05 CEST 2015
2 Fixing memory leak in digest authentication. -AW
3
1Wed Jun 03 21:23:47 CEST 2015 4Wed Jun 03 21:23:47 CEST 2015
2 Add deprecation compiler messages for deprecated functions 5 Add deprecation compiler messages for deprecated functions
3 and macros. -EG 6 and macros. -EG