]> git.proxmox.com Git - mirror_ovs.git/commit
raft: Fix error leak on failure while saving snapshot.
authorIlya Maximets <i.maximets@ovn.org>
Fri, 23 Oct 2020 18:20:04 +0000 (20:20 +0200)
committerIlya Maximets <i.maximets@ovn.org>
Tue, 27 Oct 2020 12:34:08 +0000 (13:34 +0100)
commit91bdb33e041ef3e91b19a2a2e1562b95685c37d1
treecfe6474729192b8efebe792849ce6055bcfe5d95
parent50f603dc4bf09125e924d850a11078068b7d68b0
raft: Fix error leak on failure while saving snapshot.

Error should be destroyed before return.

Fixes: 1b1d2e6daa56 ("ovsdb: Introduce experimental support for clustered databases.")
Acked-by: Han Zhou <hzhou@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
ovsdb/raft.c