Re: [ovs-dev] [PATCH] dpif-netdev: Fix memory leak in dpif_netdev_flow_put()

2014-06-25 Thread Ben Pfaff
On Wed, Jun 25, 2014 at 01:05:17PM -0700, Ryan Wilson wrote: > miniflow_destroy() needs to be called after using miniflow_init(). > Otherwise, if the miniflow mallocs data, then a memory leak may > occur. > > Found by inspection. > > Signed-off-by: Ryan Wilson Thanks, applied to master and bran

[ovs-dev] [PATCH] dpif-netdev: Fix memory leak in dpif_netdev_flow_put()

2014-06-25 Thread Ryan Wilson
miniflow_destroy() needs to be called after using miniflow_init(). Otherwise, if the miniflow mallocs data, then a memory leak may occur. Found by inspection. Signed-off-by: Ryan Wilson --- lib/dpif-netdev.c |1 + 1 file changed, 1 insertion(+) diff --git a/lib/dpif-netdev.c b/lib/dpif-net