projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ce24e
)
ofproto: Don't leak struct ofproto's port array.
author
Ben Pfaff
<blp@nicira.com>
Thu, 11 Feb 2010 23:04:00 +0000
(15:04 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 12 Feb 2010 21:55:46 +0000
(13:55 -0800)
From Jean Tourrilhes <jt@hpl.hp.com>.
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 69587c8cf9da0c9acbd762c41227cb9a9b783c3a..3768eede02a7db716dfb495cbba04316524034cb 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-759,6
+759,8
@@
ofproto_destroy(struct ofproto *p)
mac_learning_destroy(p->ml);
+ port_array_destroy(&p->ports);
+
free(p);
}