[ovs-dev] [PATCH 1/1] ovsdb-client: fix memory leak to prevent valgrind reporting memory leaks while running test suite

Damijan Skvarc damjan.skvarc at gmail.com
Tue Oct 1 07:09:14 UTC 2019


Ups, shame on me. Thanks for review, I will send another patch
Damijan

On Mon, Sep 30, 2019 at 10:47 PM Ben Pfaff <blp at ovn.org> wrote:

> On Mon, Sep 30, 2019 at 09:20:39AM +0200, Damijan Skvarc wrote:
> > memory leaks are reported in several tests and are expressed in a
> following way:
>
> Thank you for the patch.
>
> This patch introduces a use-after-free error:
>
> >              } else if (txn_id && json_equal(txn_id, reply->id)) {
> > +                jsonrpc_msg_destroy(reply);
> >                  check_transaction_reply(reply);
>
> Thanks,
>
> Ben.
>


More information about the dev mailing list