]> git.proxmox.com Git - mirror_ovs.git/commit
ovsdb-idl: Fix memory leak sending messages without a session.
authorBen Pfaff <blp@ovn.org>
Sat, 21 Nov 2020 07:17:41 +0000 (23:17 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 19 Dec 2020 02:32:07 +0000 (18:32 -0800)
commitde914f4ee58e8222098f6a5e2553c9add336397c
treea1a3b300d60997030767f04aa66b071106ddcb7f
parent75439c4bdc2372e9e9d3344424102ffeb46c5280
ovsdb-idl: Fix memory leak sending messages without a session.

When there's no open session, we still have to free the messages that
we make but cannot send.

I'm not confident that these fix actual bugs, because it seems possible
that these code paths can only be hit when the session is nonnull.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
lib/ovsdb-idl.c