Patch for MD5 digest authentication memory leak

Attached please find a patch to the latest CVS sources that fix 2 memory
leaks associated with MD5 digest authentication. In both cases,
HTAnchor_address() is called without freeing the returned memory. The
sources in error are in the module HTAABrow.c, in the functions
HTDigest_updateInfo() and digest_credentials().

Andy Levine
andyl@infospinner.com

Index: HTAABrow.c
===================================================================
RCS file: /sources/public/libwww/Library/src/HTAABrow.c,v
retrieving revision 2.56
diff -r2.56 HTAABrow.c
539a540
> 	    HT_FREE(url);
741c742
< 	    uri = HTRequest_proxy(request);
---
> 	    uri = StrAllocCopy(uri, HTRequest_proxy(request));
785a787
> 	HT_FREE(uri);

Received on Monday, 3 January 2000 11:55:20 UTC