mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
registry: free talloc context on error path in regdb_fetch_values().
Michael
(This used to be commit 978aef3a86
)
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…
Reference in New Issue
Block a user