1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/pthreadpool
Stefan Metzmacher f68b5ee75f pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close()
This tries to convince Coverity that we don't have a resource leak:

CID 1438157:    (RESOURCE_LEAK)
Handle variable "monitor_fd" going out of scope leaks the handle.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2018-07-31 11:26:16 +02:00
..
Makefile Move pthreadpool to top of the tree. 2017-02-09 20:04:12 +01:00
pthreadpool_pipe.c Move pthreadpool to top of the tree. 2017-02-09 20:04:12 +01:00
pthreadpool_pipe.h Move pthreadpool to top of the tree. 2017-02-09 20:04:12 +01:00
pthreadpool_sync.c pthreadpool: add pthreadpool_restart_check[_monitor_{fd,drain}]() 2018-07-24 17:38:28 +02:00
pthreadpool_tevent.c pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close() 2018-07-31 11:26:16 +02:00
pthreadpool_tevent.h pthreadpool: implement pthreadpool_tevent_wrapper_create() infrastructure 2018-07-24 17:38:28 +02:00
pthreadpool.c pthreadpool: add a missing include 2018-07-25 17:49:05 +02:00
pthreadpool.h pthreadpool: add pthreadpool_restart_check[_monitor_{fd,drain}]() 2018-07-24 17:38:28 +02:00
tests_cmocka.c pthreadpool: test cancelling and freeing jobs of a wrapped pthreadpool_tevent 2018-07-24 17:38:28 +02:00
tests.c pthreadpool: explicitly use max_thread=unlimited for pthreadpool_tevent_init() tests 2018-07-12 14:25:18 +02:00
wscript_build pthreadpool: Add test for pthread_create failure 2017-12-08 13:54:20 +01:00