From: Ben Pfaff Date: Wed, 30 Apr 2008 22:12:05 +0000 (-0700) Subject: Initialize rconn "connected" member. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1daf19850e40d23d7d87d8a7b6417d9f3faab386;p=openvswitch Initialize rconn "connected" member. Found by valgrind. --- diff --git a/lib/rconn.c b/lib/rconn.c index f62ac61a..73d42bb9 100644 --- a/lib/rconn.c +++ b/lib/rconn.c @@ -228,6 +228,7 @@ create_rconn(const char *name, int txq_limit, struct vconn *vconn) struct rconn *rc = xmalloc(sizeof *rc); assert(txq_limit > 0); rc->reliable = vconn == NULL; + rc->connected = vconn != NULL; rc->name = xstrdup(name); rc->vconn = vconn; queue_init(&rc->txq);