mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Add secrets_shutdown().
Guenther (This used to be commit dd3fbd93b6e5fe8b5e3a3727a64a38d5ae46fcbf)
This commit is contained in:
parent
68ec314277
commit
c0d33508ff
@ -94,6 +94,19 @@ bool secrets_init(void)
|
||||
return True;
|
||||
}
|
||||
|
||||
/*
|
||||
* close secrets.tdb
|
||||
*/
|
||||
void secrets_shutdown(void)
|
||||
{
|
||||
if (!tdb) {
|
||||
return;
|
||||
}
|
||||
|
||||
tdb_close(tdb);
|
||||
tdb = NULL;
|
||||
}
|
||||
|
||||
/* read a entry from the secrets database - the caller must free the result
|
||||
if size is non-null then the size of the entry is put in there
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user