Commit 99a6efa1 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix a double free in the named pipe code.

parent 4651067f
...@@ -428,7 +428,13 @@ static void check_flushed( void *arg ) ...@@ -428,7 +428,13 @@ static void check_flushed( void *arg )
server->flush_poll = add_timeout_user( &tv, check_flushed, server ); server->flush_poll = add_timeout_user( &tv, check_flushed, server );
} }
else 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 ) static int pipe_server_flush( struct fd *fd, struct event **event )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment