shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc...
commit4510346b4f69e91c05cf28f9b80604352fbb6772
authorRob Shearman <rob@codeweavers.com>
Thu, 14 Feb 2008 14:38:58 +0000 (14 14:38 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 Feb 2008 10:04:47 +0000 (15 11:04 +0100)
tree3274135a297fa5230478db1143c219cc1e4fd320
parent3d55b590b5b929d78ae937564f344021b13878ff
shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/LocalReAlloc, not from GlobalAlloc.

Use LMEM_FIXED instead of 0 in calls to LocalAlloc to emphasise that
we're getting a direct pointer, not a handle to memory.

Remove hargv as it is confusing and unnecessary.
dlls/shell32/shell32_main.c