[ovs-dev] [PATCH] json: Fix leaked nodes in json_hash_object()

Ben Pfaff blp at nicira.com
Tue Aug 26 16:14:05 UTC 2014


On Tue, Aug 26, 2014 at 12:23:03PM +0200, Thomas Graf wrote:
> nodes is allocated through shash_sort() but never freed.
> 
> Signed-off-by: Thomas Graf <tgraf at noironetworks.com>

Wow, that's a long-standing bug.  It looks like in practice we only ever
hash objects used as identifiers in the OVSDB protocol, and it's not
likely that many (any?) users do that (OVS itself doesn't).

Applied to master and branches for 2.3, 2.2, 2.1, 2.0, 1.11, 1.9, 1.4.



More information about the dev mailing list