1
0
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:
Volker Lendecke 2015-03-06 11:02:49 +00:00
parent ee087f8d6d
commit 101b047ab0

View File

@ -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;
}