ofproto-dpif: Fix memory leak in handle_flow_miss().
authorBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 14:15:39 +0000 (07:15 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 14:15:39 +0000 (07:15 -0700)
commite5b90c6a53a50778eac7af9b0ed0f8ad39e7dbf0
tree55ec8361401ff8ebd0833b6d5302d24a4c9fb5b6
parentcf7eed48d44f29c2d2670558c9370b7bf9d7e1e5
ofproto-dpif: Fix memory leak in handle_flow_miss().

Every xlate_actions() needs a corresponding xlate_out_uninit(), but the
call in handle_flow_miss() lacked one.  struct xlate_out has a built-in
256-byte actions stub, so the bug only showed up for lots of actions.

Bug #19198.
Reported-by: Ronald Lee <ronaldlee@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ofproto/ofproto-dpif.c