2
0
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:
Ben Pfaff
2013-09-04 12:39:19 -07:00
parent 1fe409d57f
commit a24de7eeca

View File

@@ -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_'.