wininet: Fix memory leak in HTTP_DeleteCustomHeader.

Rob Shearman robertshearman at gmail.com
Fri Jun 20 04:14:38 CDT 2008


Free the memory associated with the field and value of the custom
header otherwise it will be leaked.

Found by Valgrind.
---
 dlls/wininet/http.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6d70fe1377023c4a06578f043b6f3eaf44e01522.diff
Type: text/x-patch
Size: 673 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080620/111b1e8d/attachment.bin 


More information about the wine-patches mailing list