[PATCH resend 1/2] comctl32/listbox: Fix InitStorage heap extension

Nikolay Sivov nsivov at codeweavers.com
Mon Nov 5 06:14:31 CST 2018


I think it's better to introduce 'capacity' or 'nb_allocated' field, and 
use that instead of HeapSize().

Then you can have new array length aligned in one place, with 
heap_realloc() that will handle initial state of items == NULL.



More information about the wine-devel mailing list