shlwapi/url: Keep pointer to allocated block to free it later (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Sat Jan 15 11:23:20 CST 2011
There's a place where destination pointer is altered:
---
if(needed + len <= *pcchEscaped) {
memcpy(dst, next, len*sizeof(WCHAR));
dst += len;
}
---
after this it's used to free a buffer.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0009-Keep-pointer-to-allocated-block-to-free-it-later-Va.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110115/8f91bb79/attachment.txt>
More information about the wine-patches
mailing list