mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
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
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.