mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
flow: Fix memory leak in minimask_move().
Found by valgrind. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -1373,7 +1373,7 @@ minimask_clone(struct minimask *dst, const struct minimask *src)
|
||||
void
|
||||
minimask_move(struct minimask *dst, struct minimask *src)
|
||||
{
|
||||
miniflow_clone(&dst->masks, &src->masks);
|
||||
miniflow_move(&dst->masks, &src->masks);
|
||||
}
|
||||
|
||||
/* Initializes 'dst_' as the bit-wise "and" of 'a_' and 'b_'.
|
||||
|
Reference in New Issue
Block a user