diff options
author | Alberto Garcia <berto@igalia.com> | 2019-08-12 18:58:28 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-21 16:31:58 +0200 |
commit | b65cb867cc13b581baeea7648a9f45899cb7a714 (patch) | |
tree | 33ae175238c5ffdb6236974079848867e8f5c67e /chardev/char-socket.c | |
parent | b960fc1796fb078c21121abf01499603b66b3f57 (diff) | |
download | qemu-b65cb867cc13b581baeea7648a9f45899cb7a714.zip qemu-b65cb867cc13b581baeea7648a9f45899cb7a714.tar.gz qemu-b65cb867cc13b581baeea7648a9f45899cb7a714.tar.bz2 |
main-loop: Fix GSource leak in qio_task_thread_worker()
After g_source_attach() the GMainContext holds a reference to the
GSource, so the caller does not need to keep it.
qio_task_thread_worker() is not releasing its reference so the GSource
is being leaked since a17536c594bfed94d05667b419f747b692f5fc7f.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <1565625509-404969-2-git-send-email-andrey.shinkevich@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions