6bf9d368
by Yuxuan Shui at 2025-10-15T11:39:10+02:00
windows.devices.enumeration: Don't leave dangling pointers if devpropcompkeys_append_names fails.
If devpropcompkeys_append_names fails after the realloc, *ret_keys will contain a dangling pointer.
But both of its callers assume it's safe to call free on *ret_keys when
devpropcompkeys_append_names fails, resulting in double freeing.