projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52460c1
)
flow: Fix memory leak in minimask_move().
author
Ben Pfaff
<blp@nicira.com>
Wed, 4 Sep 2013 19:39:19 +0000
(12:39 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 4 Sep 2013 20:09:37 +0000
(13:09 -0700)
Found by valgrind.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/flow.c
patch
|
blob
|
history
diff --git
a/lib/flow.c
b/lib/flow.c
index
8263672
..
0e7c493
100644
(file)
--- a/
lib/flow.c
+++ b/
lib/flow.c
@@
-1373,7
+1373,7
@@
minimask_clone(struct minimask *dst, const struct minimask *src)
void
minimask_move(struct minimask *dst, struct minimask *src)
{
- miniflow_
clon
e(&dst->masks, &src->masks);
+ miniflow_
mov
e(&dst->masks, &src->masks);
}
/* Initializes 'dst_' as the bit-wise "and" of 'a_' and 'b_'.