On Mon Jul 28 14:02:00 2025 +0000, Esme Povirk wrote:
Ah, we may have had some language difficulties. I only meant that the `(void*)` was unnecessary. I also found, since making that comment, that a different set of allocation/free functions are used with this variable. I think the value should be allocated like this: `WCHAR* pszName = LocalAlloc(LMEM_FIXED, total_len * sizeof(WCHAR));` And the older value should be freed like this: `LocalFree(This->filterspecs[i].pszName);` I found this by looking for the definition of `StrDupW`, which is in `dlls/kernelbase/string.c`.
Sorry, I misunderstood.