diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-25 04:45:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:12 -0500 |
commit | 4fa2904290e2c345eae76ad66fc284b76eccd5f8 (patch) | |
tree | 315b3102d991a2338fd3b3f20a50d683ba32c45c /source4/provision.ldif | |
parent | cf938f14a20f0a5f9db1afbd51f7aa4fb7c26be8 (diff) | |
download | samba-4fa2904290e2c345eae76ad66fc284b76eccd5f8.tar.gz samba-4fa2904290e2c345eae76ad66fc284b76eccd5f8.tar.bz2 samba-4fa2904290e2c345eae76ad66fc284b76eccd5f8.zip |
r2613: use a talloc destructor to ensure that file descriptors are not leaked
on abnormal termination of a connection. As long as the top level
connection structure is freed then that should cascade down to the
file structure, and call this destructor which will close the open file descriptor.
In general I'd like to use this technique in any place in Samba4 where
we hold operating system resources that we need to make sure are
released on abnormal termination.
(This used to be commit ed87b7fcbd9fedc155528ce6dd8ab5d5fce637b2)
Diffstat (limited to 'source4/provision.ldif')
0 files changed, 0 insertions, 0 deletions