projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d2339
)
ofproto-dpif-rid: Fix memory leak.
author
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2014 20:40:52 +0000
(12:40 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2014 20:40:52 +0000
(12:40 -0800)
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-rid.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif-rid.c
b/ofproto/ofproto-dpif-rid.c
index
e75dfc8
..
c0ab589
100644
(file)
--- a/
ofproto/ofproto-dpif-rid.c
+++ b/
ofproto/ofproto-dpif-rid.c
@@
-185,6
+185,7
@@
rid_pool_free_id(struct rid_pool *rids, uint32_t id)
rid = rid_pool_find(rids, id);
if (rid) {
hmap_remove(&rids->ridmap.map, &rid->node);
+ free(rid);
}
}
}