core: error: rename b_error_release to b_error_discard
This commit is contained in:
@@ -68,7 +68,7 @@ struct _b_object *b_object_create(b_type type)
|
||||
struct _b_object *out = NULL;
|
||||
b_result result = b_object_instantiate(type_reg, &out);
|
||||
if (b_result_is_error(result)) {
|
||||
b_error_release(result);
|
||||
b_error_discard(result);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user