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

Ben Pfaff blp at ovn.org
Mon Sep 30 20:42:56 UTC 2019


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