[ovs-dev] [PATCH] Fix leak in patched_datapaths processing.

Flavio Fernandes flavio at flaviof.com
Thu Sep 1 16:49:53 UTC 2016


> On Sep 1, 2016, at 12:43 PM, Ben Pfaff <blp at ovn.org> wrote:
> 
> On Thu, Sep 01, 2016 at 09:29:24AM -0500, Ryan Moats wrote:
>> When unpersisting patch_datapaths, missed that the key field
>> needed to be freed to avoid a memory leak.  This patch fixes
>> same.
>> 
>> Signed-off-by: Ryan Moats <rmoats at us.ibm.com>
> 
> I don't see a reason to be doing dynamic allocation here at all.
> My counterproposal:
>        https://patchwork.ozlabs.org/patch/664967/

ah, nice!

-- flaviof

> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list