mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
registry: free talloc context on error path in regdb_fetch_values().
Michael (This used to be commit 978aef3a862065be856b36b38d72d581c3ac0ba1)
This commit is contained in:
parent
a26880c372
commit
284bab74a7
@ -979,7 +979,7 @@ int regdb_fetch_values( const char* key, REGVAL_CTR *values )
|
||||
|
||||
keystr = talloc_asprintf(ctx, "%s/%s", REG_VALUE_PREFIX, key);
|
||||
if (!keystr) {
|
||||
return 0;
|
||||
goto done;
|
||||
}
|
||||
|
||||
values->seqnum = regdb_get_seqnum();
|
||||
|
Loading…
x
Reference in New Issue
Block a user