projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Remove tty_wait_until_sent_from_close()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mcb
/
mcb-parse.c
diff --git
a/drivers/mcb/mcb-parse.c
b/drivers/mcb/mcb-parse.c
index d1278b5f3028dbc765f0da3fef90f0e99894170c..00492695526354f104b115c61546142d77d47c46 100644
(file)
--- a/
drivers/mcb/mcb-parse.c
+++ b/
drivers/mcb/mcb-parse.c
@@
-141,6
+141,7
@@
int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase,
default:
pr_err("Invalid chameleon descriptor type 0x%x\n",
dtype);
+ kfree(header);
return -EINVAL;
}
num_cells++;