You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/target/linux/brcm2708/patches-4.14/950-0152-vcsm-Fix-memory-le...

22 lines
743 B

From d52c0da67a825372cf071dfe118b23a6bca43e5a Mon Sep 17 00:00:00 2001
From: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
Date: Mon, 8 Jan 2018 21:11:23 +0900
Subject: [PATCH 152/454] vcsm: Fix memory leaking on clean_invalid2 ioctl
handler
Signed-off-by: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
---
drivers/char/broadcom/vc_sm/vmcs_sm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c
+++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c
@@ -2990,7 +2990,7 @@ static long vc_sm_ioctl(struct file *fil
op->block_count, op->block_size,
op->inter_block_stride, op->invalidate_mode);
if (ret)
- goto out;
+ break;
}
kfree(block);
}