mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
registry: don't leak to talloc stack in regdb_fetch_keys().
Michael
This commit is contained in:
parent
93ea27a3e2
commit
3a1d79116b
@ -666,7 +666,8 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr)
|
||||
|
||||
rec = regdb->fetch_locked(regdb, frame, string_term_tdb_data(path));
|
||||
if (rec == NULL) {
|
||||
return 0;
|
||||
ret = 0;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
ctr->seqnum = regdb_get_seqnum();
|
||||
|
Loading…
Reference in New Issue
Block a user