[ovs-git] [openvswitch/ovs] 5657f6: ovs-thread: Fix memory leak in thread exit.
noreply at github.com
Tue Nov 10 22:12:05 UTC 2015
Author: Ben Pfaff <blp at ovn.org>
Date: 2015-11-10 (Tue, 10 Nov 2015)
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
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
More information about the git