]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/smp.c: free related resources when failure occurs in hotplug_cfd()
authorChen Gang <gang.chen@asianux.com>
Wed, 11 Sep 2013 21:23:22 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:21 +0000 (15:58 -0700)
commit7e5513a35b8fd9c64523b1bcb907ee2199304401
tree978d94c566d4ad2a23ae2fe656a666b61c1f4f4e
parent4db95d9c95ab44ec8d3d017877d61515c3f857c7
kernel/smp.c: free related resources when failure occurs in hotplug_cfd()

When failure occurs in hotplug_cfd(), need release related resources, or
will cause memory leak.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/smp.c