kernel: resolving a handle now increments the refcount of the corresponding object
This commit is contained in:
@@ -326,7 +326,7 @@ kern_status_t task_resolve_handle(
|
||||
}
|
||||
|
||||
if (out_obj) {
|
||||
*out_obj = handle_data->h_object;
|
||||
*out_obj = object_ref(handle_data->h_object);
|
||||
}
|
||||
|
||||
if (out_flags) {
|
||||
|
||||
Reference in New Issue
Block a user