projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05edc34
)
ofproto: Free "controller_name" in ofconn_run().
author
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 00:04:55 +0000
(16:04 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Feb 2011 17:36:57 +0000
(09:36 -0800)
Coverity #10729
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index c6008c7a8ec114389a5f8e893fd54956bdbee791..8af18145b671de8743b024a8a7bdca87d1096caa 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-1857,6
+1857,7
@@
ofconn_run(struct ofconn *ofconn)
char *ofconn_name = ofconn_make_name(p, controller_name);
rconn_connect(ofconn->rconn, controller_name, ofconn_name);
free(ofconn_name);
+ free(controller_name);
} else {
rconn_disconnect(ofconn->rconn);
}