shlwapi/url: Keep pointer to allocated block to free it later (Valgrind)

Nikolay Sivov nsivov at
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: <>

More information about the wine-patches mailing list