Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.429
diff -u -p -r1.429 listview.c
--- dlls/comctl32/listview.c	30 Aug 2005 10:07:17 -0000	1.429
+++ dlls/comctl32/listview.c	8 Sep 2005 20:07:34 -0000
@@ -8094,11 +8094,14 @@ static LRESULT LISTVIEW_LButtonDblClk(LI
 
     /* send NM_DBLCLK notification */
     LISTVIEW_HitTest(infoPtr, &htInfo, TRUE, FALSE);
-    notify_click(infoPtr, NM_DBLCLK, &htInfo);
 
     /* To send the LVN_ITEMACTIVATE, it must be on an Item */
     if(htInfo.iItem != -1) notify_itemactivate(infoPtr,&htInfo);
 
+    /* The current listview might be destroyed in notify_click,
+     * so don't use infoPtr any more after this call. */
+    notify_click(infoPtr, NM_DBLCLK, &htInfo);
+	
     return 0;
 }
 
