Don't destroy ImageList used by ListView if control was created without LVS_SHAREIMAG...
authorRafal Harabien <rafalh@reactos.org>
Mon, 21 Mar 2011 14:07:29 +0000 (14:07 +0000)
committerRafal Harabien <rafalh@reactos.org>
Mon, 21 Mar 2011 14:07:29 +0000 (14:07 +0000)
commit073c778dcb1da6d2bb952d3dda7569940a8cf920
tree87230393720e4956c20cbe7692b625bcf1805e8c
parent01ecf02e26cfef98698c80acf26ad50a9c517e8e
Don't destroy ImageList used by ListView if control was created without LVS_SHAREIMAGELISTS flag
Fixes crashes when closing RegEdit, RApps and hardware tab in mouse settings.

svn path=/trunk/; revision=51103
reactos/base/applications/rapps/winmain.c
reactos/base/applications/regedit/childwnd.c
reactos/dll/cpl/input/settings.c