mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
registry: Fix CID 241075 Unchecked return value
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
This commit is contained in:
parent
ee087f8d6d
commit
101b047ab0
@ -650,7 +650,8 @@ static WERROR ldb_del_value(TALLOC_CTX *mem_ctx, struct hive_key *key,
|
||||
if (ret != LDB_SUCCESS) {
|
||||
return WERR_FOOBAR;
|
||||
}
|
||||
ldb_msg_add_empty(msg, "type", LDB_FLAG_MOD_DELETE, NULL);
|
||||
ret = ldb_msg_add_empty(msg, "type", LDB_FLAG_MOD_DELETE,
|
||||
NULL);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
return WERR_FOOBAR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user