if (reply && reply->id) {
if (sdca_id && json_equal(sdca_id, reply->id)) {
if (reply->type == JSONRPC_ERROR) {
- ovs_fatal(0, "%s: set_db_change_aware failed (%s)",
+ ovs_error(0, "%s: set_db_change_aware failed (%s)",
jsonrpc_session_get_name(js),
json_to_string(reply->error, 0));
+ jsonrpc_msg_destroy(reply);
+ exit(EXIT_FAILURE);
}
} else if (txn_id && json_equal(txn_id, reply->id)) {
check_transaction_reply(reply);
+ jsonrpc_msg_destroy(reply);
exit(0);
}
}