Commit 5fb74c48 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

winex11: Added missing release_win_data() to create_foreign_window().

parent b4e375ec
......@@ -1897,11 +1897,12 @@ HWND create_foreign_window( Display *display, Window xwin )
SetPropA( hwnd, foreign_window_prop, (HANDLE)xwin );
XSaveContext( display, xwin, winContext, (char *)data->hwnd );
ShowWindow( hwnd, SW_SHOW );
TRACE( "win %lx parent %p style %08x %s -> hwnd %p\n",
xwin, parent, style, wine_dbgstr_rect(&data->window_rect), hwnd );
release_win_data( data );
ShowWindow( hwnd, SW_SHOW );
return hwnd;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment