mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
registry: free talloc context on error path in regdb_fetch_values().
Michael
This commit is contained in:
parent
477008367f
commit
978aef3a86
@ -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…
Reference in New Issue
Block a user