WMaker: change conceptually imperfect code in drawerDestroy (Coverity #50265)
commit1a64ca8275974592cfa3a42d4cbb0d4355031833
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:50 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:57 +0000 (20 21:29 +0100)
treec4455465aee4cc3a1c5494c846d83be1503a1536
parent68e4ccca58ee42733083164d52fd635fecce4a35
WMaker: change conceptually imperfect code in drawerDestroy (Coverity #50265)

Factually, the program works because the function 'drawerRemoveFromChain'
uses only the address of the drawer and not the content of the structure,
but conceptually this address point to a storage space that has been
de-allocated, so that's calling for trouble for future code changes.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/dock.c