summaryrefslogtreecommitdiffstats
path: root/fs/omfs
diff options
context:
space:
mode:
authorJesper Juhl2012-10-05 02:16:52 +0200
committerLinus Torvalds2012-10-05 20:05:31 +0200
commit0324b5a450f8a58304e93c5d886add24ca3527bc (patch)
treef3e77339d9964f550485e9d9b40897ba1b95b33f /fs/omfs
parentaoe: update aoe-internal version number to 50 (diff)
downloadkernel-qcow2-linux-0324b5a450f8a58304e93c5d886add24ca3527bc.tar.gz
kernel-qcow2-linux-0324b5a450f8a58304e93c5d886add24ca3527bc.tar.xz
kernel-qcow2-linux-0324b5a450f8a58304e93c5d886add24ca3527bc.zip
taskstats: cgroupstats_user_cmd() may leak on error
If prepare_reply() succeeds we have allocated memory for 'rep_skb'. If nla_reserve() then subsequently fails and returns NULL we fail to release the memory we allocated, thus causing a leak. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Cc: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/omfs')
0 files changed, 0 insertions, 0 deletions