1
0
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:
Michael Adam 2008-03-17 01:17:15 +01:00
parent 93ea27a3e2
commit 3a1d79116b

View File

@ -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();