[PATCH v11 0/7] MR337: winepulse: Return device-specific values for GetMixFormat and GetDevicePeriod

Huw Davies (@huw) wine at gitlab.winehq.org
Tue Jul 5 10:11:19 CDT 2022


On Tue Jul  5 15:08:29 2022 +0000, Claire wrote:
> I am actually not sure `stream->local_buffer` is allocated by this
> point. I think it only gets initialized on line 1153, so going to `exit`
> would be incorrect. But if that's the case, the existing goto on line
> 1119 is incorrect too.
`stream` is `calloc()`ed and `free(NULL)` is fine.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_3362



More information about the wine-devel mailing list