Fix not removing resource from procgroup->resource_tree during pg cleanup

This commit is contained in:
2026-03-03 21:53:54 +01:00
parent 2a891fcdd1
commit 212aeec04d
3 changed files with 1 additions and 11 deletions

View File

@@ -103,6 +103,7 @@ void proc_delete_resource (struct procgroup* procgroup, struct proc_resource* re
spin_lock (&resource->lock);
id_free (&procgroup->rid_alloc, resource->rid);
rbtree_delete (&procgroup->resource_tree, &resource->resource_tree_link);
spin_unlock (&resource->lock);
spin_unlock (&procgroup->lock);