From eaf9d084a592c53b390597b9ca276c3836bcf7dc Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 21 Feb 2011 16:04:55 -0800 Subject: [PATCH] ofproto: Free "controller_name" in ofconn_run(). Coverity #10729 --- ofproto/ofproto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c6008c7a..8af18145 100644 --- 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); } -- 2.30.2