diff options
author | Frederic Weisbecker | 2015-09-05 00:45:00 +0200 |
---|---|---|
committer | Linus Torvalds | 2015-09-05 01:54:41 +0200 |
commit | 5869b5064b0950afc447610c0f5d4134b71d9e94 (patch) | |
tree | c2322eaf65bb956b063dd2712caab6b2347db169 /net/9p | |
parent | fs: create and use seq_show_option for escaping (diff) | |
download | kernel-qcow2-linux-5869b5064b0950afc447610c0f5d4134b71d9e94.tar.gz kernel-qcow2-linux-5869b5064b0950afc447610c0f5d4134b71d9e94.tar.xz kernel-qcow2-linux-5869b5064b0950afc447610c0f5d4134b71d9e94.zip |
smpboot: fix memory leak on error handling
The cpumask is allocated before threads get created. If the latter step
fails, we need to free the cpumask.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Chris Metcalf <cmetcalf@ezchip.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ulrich Obergfell <uobergfe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions