[PATCH] explorer: Fix atom leaks caused by not releasing DDE interface

Alexandre Julliard julliard at winehq.org
Thu Nov 29 08:47:20 CST 2018


Ralf Habacker <ralf.habacker at freenet.de> writes:

> +    if (hwnd && graphics_driver)
> +    {
> +        HMODULE shell32;
> +        void (WINAPI *pShellDDEInit)( BOOL );
> +        if ((shell32 = LoadLibraryA( "shell32.dll" )) &&
> +            (pShellDDEInit = (void *)GetProcAddress( shell32, (LPCSTR)188)))
> +        {

You shouldn't need to duplicate that code.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list