datapath: Fix double free when ovs_nla_copy_actions() fails
authorThomas Graf <tgraf@noironetworks.com>
Tue, 23 Sep 2014 17:59:56 +0000 (19:59 +0200)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 23 Sep 2014 21:47:53 +0000 (14:47 -0700)
commit4f67b12af0fb8e0d259fc8870d5bce5d805534d8
treefdf7591e9bef17ea360367d842c67550290ac11e
parent4a1f9610682d785e18fd38f86d81a66aa212789f
datapath: Fix double free when ovs_nla_copy_actions() fails

ovs_nla_copy_actions() already frees the allocated actions buffers,
ovs_flow_cmd_new() will free it a second time when jumping to
err_kfree_acts.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/datapath.c