mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-07 07:18:07 +02:00
Fix a memory leak
Signed-off-by: Hodong <hodong@yozmos.com>
This commit is contained in:
parent
43fbf03e54
commit
ddafdba11f
1 changed files with 2 additions and 1 deletions
|
|
@ -458,8 +458,9 @@ int _xcb_out_init(_xcb_out *out)
|
||||||
|
|
||||||
void _xcb_out_destroy(_xcb_out *out)
|
void _xcb_out_destroy(_xcb_out *out)
|
||||||
{
|
{
|
||||||
pthread_cond_destroy(&out->cond);
|
|
||||||
pthread_mutex_destroy(&out->reqlenlock);
|
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)
|
int _xcb_out_send(xcb_connection_t *c, struct iovec *vector, int count)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue