Unverified Commit f1ab5203 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Fix memory leak in raft_restore_log() (#126)

parent 9c09a6cc
...@@ -2317,6 +2317,7 @@ int raft_restore_log(raft_server_t *me) ...@@ -2317,6 +2317,7 @@ int raft_restore_log(raft_server_t *me)
raft_handle_append_cfg_change(me, ety, i); raft_handle_append_cfg_change(me, ety, i);
} }
raft_entry_release(ety);
i++; i++;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment