Fix a MAC label leak for POSIX semaphores, in which per-policy labels
would be properly disposed of, but the global label structure for the semaphore wouldn't be freed. MFC after: 3 days Reported by: tanyong <tanyong at ercist dot iscas dot ac dot cn>, zhouzhouyi
This commit is contained in:
parent
8b953b3f9d
commit
b5f992b93d
@ -72,6 +72,7 @@ mac_posixsem_label_free(struct label *label)
|
||||
{
|
||||
|
||||
MAC_PERFORM(posixsem_destroy_label, label);
|
||||
mac_labelzone_free(label);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user