git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a08f9b
)
ofproto: Fix memory leak in ofproto_destroy__().
author
Ben Pfaff
<blp@nicira.com>
Tue, 7 Jun 2011 20:19:24 +0000
(13:19 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 7 Jun 2011 20:21:26 +0000
(13:21 -0700)
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
5ab4d3a
..
c6d9143
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-581,6
+581,7
@@
ofproto_destroy__(struct ofproto *ofproto)
hmap_remove(&all_ofprotos, &ofproto->hmap_node);
free(ofproto->name);
+ free(ofproto->type);
free(ofproto->mfr_desc);
free(ofproto->hw_desc);
free(ofproto->sw_desc);