diff options
author | Brian Behlendorf <[email protected]> | 2009-02-18 10:16:26 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-02-18 10:16:26 -0800 |
commit | 63a93055fb6cfddebe31c791f7df86b14942ca9d (patch) | |
tree | 69973cae3360a187eab75a9f7eca8e47442b2a32 /include | |
parent | 02c7f164946e86048721a8c1af6ada3f25c3a78c (diff) |
Coverity 9657: Resource Leak
Accidentally leaked list item li in error path. The fix is to
adjust this error path to ensure the allocated list item which
has not yet been added to the list gets freed. To do this we
simply add a new goto label slightly earlier to use the existing
cleanup logic and minimize the number of unique return points.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions