Ecore: Ecore_X: Xlib: Fix memory leak.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Apr 2011 17:06:40 +0000 (17:06 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Apr 2011 17:06:40 +0000 (17:06 +0000)
commitc891a3a7ee91bf2f77d9f4f6c7863f6507b6e881
treef5489159207d7be6dae2edd473a8a0c84fadff9f
parent758d6c1119404bf9a440fd3a54b1d8ad53565431
Ecore: Ecore_X: Xlib: Fix memory leak.

When handling xdnd_enter event(s), if we do not support the dnd target
version, then we issue a warning and return from the handling
function. If we are going to return (and not issue the ecore_x_event),
then free the allocated memory of the ecore_x_event_xdnd_enter
structure that we previously allocated.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@58337 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_x/xlib/ecore_x_events.c