]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/taskstats.c: fix bogus nlmsg_free()
authorAdrian Bunk <bunk@kernel.org>
Thu, 15 Nov 2007 01:00:37 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (18:45 -0800)
commit22c03201db90baafd8926bebc3a4842144c2b96c
tree91e877d755451415ea79fe9da4419b465a0575d0
parent18670a34b30cf5807c7f425ba9d1030b0e72e158
kernel/taskstats.c: fix bogus nlmsg_free()

We'd better not nlmsg_free on a pointer containing an undefined value
(and without having anything allocated).

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/taskstats.c