fusefs: fix a memory leak in the forget test
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
560a55d094
commit
9cf5812603
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=349464
@ -96,6 +96,7 @@ TEST_F(Forget, ok)
|
|||||||
ASSERT_EQ(0, err) << strerror(errno);
|
ASSERT_EQ(0, err) << strerror(errno);
|
||||||
|
|
||||||
sem_wait(&sem);
|
sem_wait(&sem);
|
||||||
|
sem_destroy(&sem);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user