git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asm-generic: merge branch 'master' of torvalds/linux-2.6
[pandora-kernel.git]
/
drivers
/
serial
/
ucc_uart.c
diff --git
a/drivers/serial/ucc_uart.c
b/drivers/serial/ucc_uart.c
index
315a933
..
7de66c0
100644
(file)
--- a/
drivers/serial/ucc_uart.c
+++ b/
drivers/serial/ucc_uart.c
@@
-1274,6
+1274,7
@@
static int ucc_uart_probe(struct of_device *ofdev,
if (!iprop) {
iprop = of_get_property(np, "device-id", NULL);
if (!iprop) {
+ kfree(qe_port);
dev_err(&ofdev->dev, "UCC is unspecified in "
"device tree\n");
return -EINVAL;