From 928ef386127b45b8b0260b35cbdc8e0d24911a30 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 2 Nov 2010 16:20:36 -0700 Subject: [PATCH] in-band: Make in_band_create() always initialize its output argument. This isn't a bug fix but it seems like a good thing to do. --- ofproto/in-band.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 639f9f55..efc9c8ac 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -768,6 +768,7 @@ in_band_create(struct ofproto *ofproto, struct dpif *dpif, struct netdev *local_netdev; int error; + *in_bandp = NULL; error = dpif_port_get_name(dpif, ODPP_LOCAL, local_name, sizeof local_name); if (error) { -- 2.30.2