[ovs-dev] [PATCH] openvswitch: Fix memory leak in ovs_vport_alloc() error path

David Miller davem at davemloft.net
Tue Aug 12 21:26:34 UTC 2014


From: Christoph Jaeger <cj at linux.com>
Date: Tue, 12 Aug 2014 09:27:57 +0200

> ovs_vport_alloc() bails out without freeing the memory 'vport' points to.
> 
> Picked up by Coverity - CID 1230503.
> 
> Fixes: 5cd667b0a4 ("openvswitch: Allow each vport to have an array of 'port_id's.")
> Signed-off-by: Christoph Jaeger <cj at linux.com>

Applied, thanks.



More information about the dev mailing list