diff options
author | Dave Jones <davej@redhat.com> | 2007-01-28 17:39:19 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-01-28 17:39:19 -0500 |
commit | c30efbaeaa9297fb1a35ef952350e0c2bb7a3d47 (patch) | |
tree | 66d369f957a04845883929662cb3d1151ece8923 /drivers/char/tpm/tpm_nsc.c | |
parent | 4b95320fc4d21b0ff2f8604305dd6c851aff6096 (diff) |
[AGPGART] Prevent (unlikely) memory leak in amd_create_gatt_pages()
If we fail an alloc, unwind the previous allocs that succeeded.
Spotted-by: Alan Grimes <agrimes@speakeasy.net>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/tpm/tpm_nsc.c')
0 files changed, 0 insertions, 0 deletions