dpif-netdev: Call ovs_refcount_destroy() before free().
authorAlex Wang <alexw@nicira.com>
Fri, 21 Feb 2014 22:03:50 +0000 (14:03 -0800)
committerAlex Wang <alexw@nicira.com>
Fri, 21 Feb 2014 22:05:07 +0000 (14:05 -0800)
commit3754832be4195ef5c01ba2af2e4b50b6f8df91bd
tree350e4337f18be7263f436117c5139b565c339dfc
parent0c0c32d825d0fa392db834e7d57864e878134a72
dpif-netdev: Call ovs_refcount_destroy() before free().

This commit makes dp_netdev_flow_unref() and dp_netdev_actions_unref()
invoke the ovs_refcount_destroy() before freeing the corresponding
pointer.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c