projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0254ae2
)
ofproto: Don't leak descriptions when destroying an ofproto
author
Justin Pettit
<jpettit@nicira.com>
Fri, 22 Jan 2010 22:01:16 +0000
(14:01 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Sat, 20 Feb 2010 10:22:29 +0000
(
02:22
-0800)
Reported-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 0a3534d0134160db1456ec4f9a296b91b1df0236..b962f61bff6324f9be8631df53ec180445f06167 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-731,6
+731,12
@@
ofproto_destroy(struct ofproto *p)
mac_learning_destroy(p->ml);
+ free(p->manufacturer);
+ free(p->hardware);
+ free(p->software);
+ free(p->serial);
+ free(p->dp_desc);
+
free(p);
}