"Improve the command interface so that it sends back acks or errors."
Oops. That was dumb.
Thanks to Justin for reporting the problem.
*replyp = NULL;
error = vconn_send_block(vconn, request);
*replyp = NULL;
error = vconn_send_block(vconn, request);
- ofpbuf_delete(request);
+ if (error) {
+ ofpbuf_delete(request);
+ }
return error ? error : vconn_recv_xid(vconn, send_xid, replyp);
}
return error ? error : vconn_recv_xid(vconn, send_xid, replyp);
}