kernel/taskstats.c: fix bogus nlmsg_free()
commitf96159840bc5f605aca5113ab2d24308d3dc2eff
authorAdrian Bunk <bunk@kernel.org>
Thu, 15 Nov 2007 01:00:37 +0000 (14 17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (14 18:45 -0800)
tree91e877d755451415ea79fe9da4419b465a0575d0
parent4ae44c57748ad37dcd1d998525f6929d2fe39d02
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