summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-07 13:26:13 +0200
committerMichael Adam <obnox@samba.org>2008-05-08 18:29:09 +0200
commit284bab74a7e93ec23979aad20d6b92363a93083e (patch)
tree940d1387938a0e6b9adb406d82a093bebe3446ae
parenta26880c372aeccdb56292c7ce6b594a96e8c61ef (diff)
downloadsamba-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.c2
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();