1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00
Files
samba-mirror/source/rpc_server/winreg
Andrew Tridgell 1c0a3de398 r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences

1) it was a massive memory leak, as all winreg operations leaked their
   entire context (including an open ldb database) every time

2) event_context_find() never found the exsting event context, so we
   used a new event context each time, which called epoll_create()
   each time, which caused a fd to be allocated
2007-10-10 14:18:52 -05:00
..
2007-10-10 13:33:21 -05:00

This is the RPC server for the registry for Samba. It is basically a
front-end for the registry library in lib/registry. See
lib/registry/README for more details.