Re: [ovs-dev] [PATCH 2/2] ofp-flow: minimatch is initialized twice.

2018-04-04 Thread Ben Pfaff
On Tue, Apr 03, 2018 at 10:12:59AM -0700, Yifeng Sun wrote: > It is possible that 'fm->match' gets initialized twice in this function, > which makes the first one leak because its pointer is overwritten by the > second initialization. > > This patch fixes this issue. > > Signed-off-by: Yifeng Sun

[ovs-dev] [PATCH 2/2] ofp-flow: minimatch is initialized twice.

2018-04-03 Thread Yifeng Sun
It is possible that 'fm->match' gets initialized twice in this function, which makes the first one leak because its pointer is overwritten by the second initialization. This patch fixes this issue. Signed-off-by: Yifeng Sun --- lib/ofp-flow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/l