X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fin-band.c;h=4a2ea834af0c36cc7da6d5861be35e2e4197cf54;hb=434910dd2329aa16581532902ea494e5213a74bb;hp=2b362bc06ebc79fa9a83836ee6304b8df1c57953;hpb=4d678233e981fa319a338f6b0949e9dc625941a4;p=openvswitch diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 2b362bc0..4a2ea834 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -624,7 +624,7 @@ in_band_create(struct ofproto *ofproto, struct dpif *dpif, return error; } - in_band = xcalloc(1, sizeof *in_band); + in_band = xzalloc(sizeof *in_band); in_band->ofproto = ofproto; in_band->controller = controller; in_band->ss_cat = switch_status_register(ss, "in-band",