ofproto-dpif-upcall: Fix a memory leak.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 23 Sep 2013 17:57:22 +0000 (10:57 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Sep 2013 23:20:35 +0000 (16:20 -0700)
commitddeca9a44933e1f96938cca0dd2ab77b92dd2101
treeab92965629edcb3047235c17a82bd3f2abcb40ca
parent2e6d002d967ffe795cda2f8c2cca15d3592f411f
ofproto-dpif-upcall: Fix a memory leak.

The "key" member in struct flow_miss refers to memory held by the "struct
upcall", hence the upcalls should be freed only after the flow misses are
processed by the main thread.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-upcall.h