Gijs Vermeulen gijsvrm@gmail.com wrote:
+void *WINAPI MFHeapAlloc(SIZE_T size, ULONG flags, char *file, int line, EAllocationType type) +{
- TRACE("%lu %x %s %d %x\n", size, flags, debugstr_a(file), line, type);
- return HeapAlloc(GetProcessHeap(), flags, size);
+}
+void WINAPI MFHeapFree(void *p) +{
- TRACE("%p\n", p);
- heap_free(p);
+}
Probabaly for consistency both should either call HeapAlloc/HeapFree or heap_alloc/heap_free, but since Alloc uses flags Free should likely call HeapFree.