mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
capability: set ownerdata to NULL when orphaning
This commit is contained in:
parent
6b23b98ab6
commit
2e4bf32f36
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ capability_orphan(struct CapabilityIndex *idx, const char *cap)
|
|||
{
|
||||
entry->flags &= ~CAP_REQUIRED;
|
||||
entry->flags |= CAP_ORPHANED;
|
||||
entry->ownerdata = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue