ofproto-dpif: Fix memory leak of mirrors in bundle_destroy().
authorBen Pfaff <blp@nicira.com>
Thu, 22 Jan 2015 05:08:12 +0000 (21:08 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Jan 2015 05:11:06 +0000 (21:11 -0800)
commita1cd27a4407460adef7baef5933af9a72ce85fc5
tree7daf872dd14828ac3241b18ec0732d653963a01c
parentfad10d5ece19d740eccd30f84de9f6bc9ac77abb
ofproto-dpif: Fix memory leak of mirrors in bundle_destroy().

The mirrors are added in bundle_set() with 'bundle' as aux so they must
be removed with the same aux, but the call used 'bundle->aux' instead.

Reported-by: Sabyasachi Sengupta <Sabyasachi.Sengupta@alcatel-lucent.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
ofproto/ofproto-dpif.c