[ovs-git] [openvswitch/ovs] c289f0: netdev: Fix memory leak on error path.
GitHub
noreply at github.com
Thu Oct 12 22:17:41 UTC 2017
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: c289f00a257580f01df5c7529391aa5254e8e555
https://github.com/openvswitch/ovs/commit/c289f00a257580f01df5c7529391aa5254e8e555
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