diff options
author | 2011-03-29 11:11:18 -0700 | |
---|---|---|
committer | 2011-03-29 11:11:18 -0700 | |
commit | 8c82840e5414259b1963da36f82b64a755fafc75 (patch) | |
tree | 0087ca8ae4991d99fdcf93a70ca99db76812948d | |
parent | Merge branch 'irq-final-for-linus-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff) | |
parent | amd64_edac: Fix potential memleak (diff) | |
download | linux-dev-8c82840e5414259b1963da36f82b64a755fafc75.tar.xz linux-dev-8c82840e5414259b1963da36f82b64a755fafc75.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
amd64_edac: Fix potential memleak
-rw-r--r-- | drivers/edac/amd64_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 0be30e978c85..31e71c4fc831 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -2679,7 +2679,7 @@ static int __init amd64_edac_init(void) mcis = kzalloc(amd_nb_num() * sizeof(mcis[0]), GFP_KERNEL); ecc_stngs = kzalloc(amd_nb_num() * sizeof(ecc_stngs[0]), GFP_KERNEL); if (!(mcis && ecc_stngs)) - goto err_ret; + goto err_free; msrs = msrs_alloc(); if (!msrs) |