From 955a7127749e6e6e45b3e1a4d396a62e66d563f3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 7 Jun 2011 13:19:24 -0700 Subject: [PATCH] ofproto: Fix memory leak in ofproto_destroy__(). --- ofproto/ofproto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 5ab4d3a8..c6d91430 100644 --- 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); -- 2.30.2