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

Ben Pfaff blp at ovn.org
Thu Sep 1 16:43:26 UTC 2016


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/



More information about the dev mailing list