[ovs-git] [openvswitch/ovs] d2a5f1: netdev: Fix memory leak on error path.
GitHub
noreply at github.com
Thu Oct 12 21:50:22 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: d2a5f170932626c41239a39fa008557a3a68845c
https://github.com/openvswitch/ovs/commit/d2a5f170932626c41239a39fa008557a3a68845c
Author: William Tu <u9012063 at gmail.com>
Date: 2017-10-12 (Thu, 12 Oct 2017)
Changed paths:
M lib/netdev.c
Log Message:
-----------
netdev: Fix memory leak on error path.
Instead of freeing in the error path, move the allocation
after it. Found by inspection.
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list