[PATCH] comctl32: don't rearrange icons / update scroll bar when destroying a listview.

Lei Zhang thestig at google.com
Tue Jun 17 20:17:04 CDT 2008


Hi,

Rearranging icons and updating scrollbars seem useless when you're
about to destroy a listview control.

This fixes valgrind warnings like:

 Conditional jump or move depends on uninitialised value(s)
    at  is_broadcast (user_private.h:226)
    by  SetWindowPos (winpos.c:2034)
    by  LISTVIEW_UpdateSize (listview.c:9380)
    by  LISTVIEW_Size (listview.c:9320)
    by  LISTVIEW_WindowProc (listview.c:9949)
    by  ??? (library.h:163)
    by  call_window_proc (winproc.c:457)
    by  WINPROC_CallProcAtoW (winproc.c:1011)
    by  CallWindowProcA (winproc.c:2282)
    by  listview_subclass_proc (listview.c:231)
    by  ??? (library.h:163)
    by  call_window_proc (winproc.c:457)
    by  WINPROC_CallProcWtoA (winproc.c:1267)
    by  WINPROC_call_window (winproc.c:2200)
    by  call_window_proc (message.c:1610)
    by  send_message (message.c:2434)
    by  SendMessageW (message.c:2557)
    by  DEFWND_HandleWindowPosChanged (defwnd.c:73)
    by  DEFWND_DefWinProc (defwnd.c:315)
    by  DefWindowProcW (defwnd.c:1037)
  Uninitialised value was created by a stack allocation
    at  LISTVIEW_UpdateSize (listview.c:9351)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-comctl32-don-t-rearrange-icons-update-scroll-bar-wh.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080617/8a9d8f3a/attachment.txt 


More information about the wine-patches mailing list