[PATCH 2/2] bcrypt: Implement BCryptFreeBuffer().

Mohamad Al-Jaf mohamadaljaf at gmail.com
Wed Apr 6 03:50:06 CDT 2022


On Wed, Apr 6, 2022 at 4:38 AM Hans Leidekker <hans at codeweavers.com> wrote:
>  void WINAPI BCryptFreeBuffer( void *buffer )
>  {
> -    FIXME( "%p\n", buffer );
> +    free( buffer );
>  }

Is this how similar functions are generally implemented? I'm assuming
this only applies to simple variables and not something like a struct,
which I think requires freeing each member. I was going to implement
it myself but I didn't feel confident just one line would suffice.
--
Kind regards,
Mohamad



More information about the wine-devel mailing list