mbox series

[0/3] char-socket: Fix race condition

Message ID cover.1549545591.git.berto@igalia.com (mailing list archive)
Headers show
Series char-socket: Fix race condition | expand

Message

Alberto Garcia Feb. 7, 2019, 1:23 p.m. UTC
Hi,

this series fixes the crash I reported yesterday in char-socket and
adds a new qemu_idle_add() function, fixing a couple of memory leaks
along the way.

Regards,

Berto

Alberto Garcia (3):
  main-loop: Don't leak GSources attached to a GMainContext
  main-loop: Add qemu_idle_add()
  char-socket: Lock tcp_chr_disconnect() and socket_reconnect_timeout()

 chardev/char-pty.c       |  8 ++------
 chardev/char-socket.c    | 19 +++++++++++++++++--
 include/qemu/main-loop.h |  8 ++++++++
 io/task.c                |  6 ++----
 util/main-loop.c         |  9 +++++++++
 5 files changed, 38 insertions(+), 12 deletions(-)