mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 14:03:38 +00:00
Fix a double free in the named pipe code.
This commit is contained in:
parent
4651067f43
commit
99a6efa1af
|
@ -428,7 +428,13 @@ static void check_flushed( void *arg )
|
|||
server->flush_poll = add_timeout_user( &tv, check_flushed, server );
|
||||
}
|
||||
else
|
||||
notify_empty( server );
|
||||
{
|
||||
/* notify_empty( server ); */
|
||||
server->flush_poll = NULL;
|
||||
set_event( server->event );
|
||||
release_object( server->event );
|
||||
server->event = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static int pipe_server_flush( struct fd *fd, struct event **event )
|
||||
|
|
Loading…
Reference in a new issue