[PATCH 1/2] mmdevapi: IsFormatSupported fills closest match iff it returns S_FALSE.

Octavian Voicu octavian.voicu at gmail.com
Thu Sep 8 10:39:50 CDT 2011

On Thu, Sep 8, 2011 at 6:37 PM, Octavian Voicu <octavian.voicu at gmail.com> wrote:
> You are dereferencing 'closest' without checking if it's non-NULL. It
> can be NULL if control jumps to the 'exit' label for several cases.
> This only applies to winealsa; for wineoss there are no gotos.

Disregard that, I see now that hr is S_FALSE only when closest is
non-NULL. Sorry for the noise.


More information about the wine-devel mailing list