oleaut32: Use IMalloc_GetSize to determine the cache bucket.
authorHuw Davies <huw@codeweavers.com>
Thu, 21 Jan 2016 10:29:51 +0000 (10:29 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 21 Jan 2016 16:26:16 +0000 (01:26 +0900)
commit924cad5f3b7d7d3a2574ed6ff5396bcbd2f422ea
tree0f4239d82e0bf9d8dd3a1bbef89b690eae0ef843
parent36f454cda0dc1fd5fbd1521ad8d1883be6995375
oleaut32: Use IMalloc_GetSize to determine the cache bucket.

This also has the effect of ignoring non-allocated memory blocks.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/oleaut32/oleaut.c
dlls/oleaut32/tests/vartype.c