winex11: Added missing release_win_data() to create_foreign_window().
This commit is contained in:
parent
b4e375ecf4
commit
5fb74c48d1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue