Andrey Gusev : winex11.drv: Move condition to the proper place.

Alexandre Julliard julliard at winehq.org
Fri Jun 22 18:32:37 CDT 2018


Module: wine
Branch: master
Commit: d09c4d9116a79249d6de970ce06e3e3f533eba13
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d09c4d9116a79249d6de970ce06e3e3f533eba13

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Thu Jun 21 20:03:05 2018 +0300

winex11.drv: Move condition to the proper place.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 a0bfe05..4aee415 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);
 }
 
 




More information about the wine-cvs mailing list