diff options
-rw-r--r-- | ovsdb/raft.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ovsdb/raft.c b/ovsdb/raft.c index e76f13701..4d6f2b19c 100644 --- a/ovsdb/raft.c +++ b/ovsdb/raft.c @@ -3920,9 +3920,7 @@ raft_handle_execute_command_request__( cmd->sid = rq->common.sid; enum raft_command_status status = cmd->status; - if (status != RAFT_CMD_INCOMPLETE) { - raft_command_unref(cmd); - } + raft_command_unref(cmd); return status; } |