mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
fat-rwlock: Don't forget to destroy a mutex
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
06f8162043
commit
7156f7b9fd
@@ -122,6 +122,7 @@ fat_rwlock_destroy(struct fat_rwlock *rwlock)
|
||||
LIST_FOR_EACH_SAFE (slot, next, list_node, &rwlock->threads) {
|
||||
free_slot(slot);
|
||||
}
|
||||
ovs_mutex_destroy(&rwlock->mutex);
|
||||
}
|
||||
|
||||
static struct fat_rwlock_slot *
|
||||
|
Reference in New Issue
Block a user