[PATCH] winex11.drv: Move condition to the proper place.

Andrey Gusev andrey.goosev at gmail.com
Thu Jun 21 12:03:05 CDT 2018


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/winex11.drv/event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index a0bfe052df..4aee41586f 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -1627,8 +1627,8 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
         PostMessageA( hWnd, WM_DROPFILES, (WPARAM)hDrop, 0L );
       }
     }
-    if( p_data ) XFree(p_data);
   }
+  if( p_data ) XFree(p_data);
 }
 
 
-- 
2.17.1




More information about the wine-devel mailing list