Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovs-thread: Fix memory leak in thread exit.
'n' is the number of keys, which are grouped into blocks of L2_SIZE indexes. Even if only one key in a block is allocated, the whole block has a pointer to it that must be freed. Thus, we need to round up instead of down. Reported-at: openvswitch#87 Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Jarno Rajahalme <[email protected]>
- Loading branch information