diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-04 11:37:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-04 11:37:05 +0000 |
commit | e5e5034111debe060863901dbfe3728cc30d6441 (patch) | |
tree | 6a8b7238801f15a0217f60313187b1a16e3297a2 /ChangeLog | |
parent | 31d84d44a39ef70cfa31982d0b3a96052d28c272 (diff) | |
download | libmicrohttpd-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-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,6 @@ | |||
1 | Thu Jun 4 13:37:05 CEST 2015 | ||
2 | Fixing memory leak in digest authentication. -AW | ||
3 | |||
1 | Wed Jun 03 21:23:47 CEST 2015 | 4 | Wed 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 |