Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212864
b: refs/heads/master
c: a655237
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Benjamin Herrenschmidt committed Oct 13, 2010
1 parent b277bf5 commit e6bdad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 689fd14ae9b2af5c6862ddc11d4791ec9a938cb3
refs/heads/master: a655237fa2f9e4afe9949abe2c511432ab9537dd
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,10 @@ struct irq_host *irq_alloc_host(struct device_node *of_node,
* this will be fixed once slab is made available early
* instead of the current cruft
*/
if (mem_init_done)
if (mem_init_done) {
of_node_put(host->of_node);
kfree(host);
}
return NULL;
}
irq_map[0].host = host;
Expand Down

0 comments on commit e6bdad3

Please sign in to comment.