[PATCH v2] comctl32/tests: Fix a memory leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Thu Jan 17 04:02:36 CST 2019


Gijs Vermeulen <gijsvrm at gmail.com> writes:

> @@ -2957,6 +2957,7 @@ static void test_paste(void)
>      ok(strlen(str2) == len, "got %d\n", len);
>  
>      /* Cleanup */
> +    GlobalFree(hmem);

Clipboard data is freed by the clipboard.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list