[Xcb-commit] libxcb: src
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 14 20:34:26 UTC 2022
src/xcb_out.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ddafdba11f6919e6fcf977c09c78b06f94de47aa
Author: Hodong <hodong at yozmos.com>
Date: Sat Jan 15 02:32:04 2022 +0900
Fix a memory leak
Signed-off-by: Hodong <hodong at yozmos.com>
diff --git a/src/xcb_out.c b/src/xcb_out.c
index 8ffc03f..a4fe823 100644
--- a/src/xcb_out.c
+++ b/src/xcb_out.c
@@ -458,8 +458,9 @@ int _xcb_out_init(_xcb_out *out)
void _xcb_out_destroy(_xcb_out *out)
{
- pthread_cond_destroy(&out->cond);
pthread_mutex_destroy(&out->reqlenlock);
+ pthread_cond_destroy(&out->cond);
+ pthread_cond_destroy(&out->socket_cond);
}
int _xcb_out_send(xcb_connection_t *c, struct iovec *vector, int count)
More information about the xcb-commit
mailing list