aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2011-03-29 16:10:53 +0000
committerBorislav Petkov <[email protected]>2011-03-29 16:19:06 +0000
commita9f0fbe2bbf328f869fc5ee5a12c6a4118c32689 (patch)
tree819fdfb4224ac19a61cb2cd7c7f5a8907306ee82 /fs/jbd2/commit.c
parentmd: Fix integrity registration error when no devices are capable (diff)
downloadkernel-a9f0fbe2bbf328f869fc5ee5a12c6a4118c32689.tar.gz
kernel-a9f0fbe2bbf328f869fc5ee5a12c6a4118c32689.zip
amd64_edac: Fix potential memleak
We check the pointers together but at least one of them could be invalid due to failed allocation. Since we cannot continue if either of the two allocations has failed, exit early by freeing them both. Cc: <[email protected]> # 38.x Reported-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions