diff options
author | Michael Adam <obnox@samba.org> | 2008-05-07 13:26:13 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-05-08 18:29:09 +0200 |
commit | 284bab74a7e93ec23979aad20d6b92363a93083e (patch) | |
tree | 940d1387938a0e6b9adb406d82a093bebe3446ae | |
parent | a26880c372aeccdb56292c7ce6b594a96e8c61ef (diff) | |
download | samba-284bab74a7e93ec23979aad20d6b92363a93083e.tar.gz samba-284bab74a7e93ec23979aad20d6b92363a93083e.tar.bz2 samba-284bab74a7e93ec23979aad20d6b92363a93083e.zip |
registry: free talloc context on error path in regdb_fetch_values().
Michael
(This used to be commit 978aef3a862065be856b36b38d72d581c3ac0ba1)
-rw-r--r-- | source3/registry/reg_backend_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 658c979bb2..061ae1ccdb 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -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(); |