diff options
author | Xiaotian Feng <dfeng@redhat.com> | 2011-04-02 13:39:35 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-04-02 21:26:20 +0200 |
commit | 4f5058c3b71ed5930bb2b478c4d5dbc799dd9ad1 (patch) | |
tree | 5c756cbcd329d62fb95744185b54c952eed903df /kernel | |
parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff) | |
download | linux-4f5058c3b71ed5930bb2b478c4d5dbc799dd9ad1.tar.xz linux-4f5058c3b71ed5930bb2b478c4d5dbc799dd9ad1.zip |
genirq: Fix cpumask leak in __setup_irq()
The allocated cpumask should be freed in __setup_irq().
Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
LKML-Reference: <1301744375-6812-1-git-send-email-dfeng@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/manage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 12a80fdae11c..07c1611f3899 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1051,6 +1051,7 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) register_irq_proc(irq, desc); new->dir = NULL; register_handler_proc(irq, new); + free_cpumask_var(mask); return 0; |