]> git.proxmox.com Git - mirror_spl-debian.git/commit
Coverity 9657: Resource Leak
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 18:16:26 +0000 (10:16 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 18:16:26 +0000 (10:16 -0800)
commit63a93055fb6cfddebe31c791f7df86b14942ca9d
tree69973cae3360a187eab75a9f7eca8e47442b2a32
parent02c7f164946e86048721a8c1af6ada3f25c3a78c
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.
module/splat/splat-list.c