Dimitrie O. Paun wrote:
On Wed, 8 Oct 2003, Oleg Prokhorov wrote:
Change-log: fix wine code depended on
That's cool, but we need to somehow manage this. There are almost 300 occurences of memory reallocation, and we need to somehow keep track of what was reviwed/fixed etc., otherwise we risk missing quite a few...
We should start with a comprehensive list of things that need fixing...
Maybe we can add a new inline function which likes inline void *HeapReAllocEx(..., lpMemory, ...) { if (lpMemory)... else ... } then #define HeapReAlloc HeapReAllocEx in a proper header file.
-- Dimi.