[ovs-git] [openvswitch/ovs] 3b4fff: ofproto-dpif-xlate: Fix memory leak in execute_con...
GitHub
noreply at github.com
Tue Sep 20 16:59:17 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 3b4fff438cea524ae421269abfc5197430b65cb9
https://github.com/openvswitch/ovs/commit/3b4fff438cea524ae421269abfc5197430b65cb9
Author: Ryan Moats <rmoats at us.ibm.com>
Date: 2016-09-20 (Tue, 20 Sep 2016)
Changed paths:
M ofproto/ofproto-dpif-xlate.c
Log Message:
-----------
ofproto-dpif-xlate: Fix memory leak in execute_controller_action.
commit df70a7731 ("ofproto-dpif-xlate: Allow translating
without side-effects.") created a memory leak by removing the
dp_packet_delete statement in execute_controller_action that
freed the earlier cloned packet. This commit restores this
statement to the end of the method.
Fixes: df70a7731 ("ofproto-dpif-xlate: Allow translating without side-effects.")
Signed-off-by: Ryan Moats <rmoats at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list