diff options
author | Ben Pfaff <blp@nicira.com> | 2014-11-10 08:43:31 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-11-10 08:43:31 -0800 |
commit | 849d5648f6715e63a764e4cabbd7d241e8c6946a (patch) | |
tree | 8086399cfada82287c3ce5f20a0bdff3d7972f06 | |
parent | 27c247496fc15012b3186059639bf6dba1d1f706 (diff) | |
download | openvswitch-849d5648f6715e63a764e4cabbd7d241e8c6946a.tar.gz |
id-pool: Fix memory leak.
This dates back to the previous location of the code in ofproto-dpif-rid.
I will backport.
Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | lib/id-pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/id-pool.c b/lib/id-pool.c index 0f46b7f20..e671a9c70 100644 --- a/lib/id-pool.c +++ b/lib/id-pool.c @@ -147,6 +147,7 @@ id_pool_free_id(struct id_pool *pool, uint32_t id) id_node = id_pool_find(pool, id); if (id_node) { hmap_remove(&pool->map, &id_node->node); + free(id_node); } } } |