WINGs: fix probable crash in drag'n'drop (Coverity #50264)
commit3a191af838aa3c3854e20a987e0dc4b36827db7f
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 18 May 2014 19:31:52 +0000 (18 21:31 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:01:43 +0000 (18 23:01 +0100)
tree9fe7064b1a9abc78b8aea7ae0590d5f55f8fb0e0
parent7a39f3281696093b92735dc40d734ff25d390be4
WINGs: fix probable crash in drag'n'drop (Coverity #50264)

As reported by Coverity, the structure containing the callback functions
to handle the drag-and-drop actions could be freed but later re-used.
The correct behaviour is to keep the allocated memory for the structure.

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