fix for double free, occured while processing a buffered event twice.

patch by Alexander Kerner


SVN revision: 49690
This commit is contained in:
Vincent Torri 2010-06-15 22:37:07 +00:00
parent 8a0aee6c5c
commit eb4c9979f2
1 changed files with 4 additions and 1 deletions

View File

@ -924,7 +924,10 @@ _ecore_xcb_fd_handler(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__)
/* We check if _ecore_xcb_event_buffered is NULL or not */
if (_ecore_xcb_event_buffered)
handle_event(_ecore_xcb_event_buffered);
{
handle_event(_ecore_xcb_event_buffered);
_ecore_xcb_event_buffered = NULL;
}
while ((ev = xcb_poll_for_event(c)))
handle_event(ev);