[PATCH 1/6] user32: Add internal reference counting to menu structs

Alexandre Julliard julliard at winehq.org
Tue Apr 10 04:34:44 CDT 2018


Nikolay Sivov <nsivov at codeweavers.com> writes:

> From: Andrew Eikum <aeikum at codeweavers.com>
>
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>  dlls/user32/menu.c | 50 +++++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 39 insertions(+), 11 deletions(-)

I still think you need to increase the refcount while holding a pointer,
cf. https://www.winehq.org/pipermail/wine-devel/2014-May/104347.html

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list