Merge "master" branch into "db".
[openvswitch] / extras / ezio / ovs-switchui.c
index cd1f3521c21273a88697c2a9cdd42bcc6c6849ce..bd07e869eb6f79b8288e197b9e9734f7ef5c80af 100644 (file)
@@ -1247,7 +1247,7 @@ allocate_message(struct message **msgp)
 {
     if (!*msgp) {
         /* Allocate and initialize message. */
-        *msgp = xcalloc(1, sizeof **msgp);
+        *msgp = xzalloc(sizeof **msgp);
         (*msgp)->index = n_messages;
 
         /* Add to list of messages. */