On Mon, Sep 30, 2019 at 10:21:00AM +0200, Damijan Skvarc wrote:
> Memory leak itself is not so important, however the problem is that
> it is caused by forgetting to close rpc channel which might in
> a long term lead to the leak of system resources.
> 
> Memory leak is reported by Valgrin running test suite and is expressed as:

Thanks for the fix.

I don't understand why this is necessary.  These functions are called
from main(), which closes the rpc connection just afterward:

    command->handler(rpc, database, argc - optind, argv + optind);

    free(database);
    jsonrpc_close(rpc);

Can you take a closer look?
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to