summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 88e234e0fc..ad1071a4da 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1907,6 +1907,7 @@ static NTSTATUS regdb_set_secdesc_action(struct db_context *db,
tdbkey = talloc_asprintf(frame, "%s\\%s", REG_SECDESC_PREFIX, ctx->key);
if (tdbkey == NULL) {
+ status = NT_STATUS_NO_MEMORY;
goto done;
}