mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
23 lines
743 B
Diff
23 lines
743 B
Diff
|
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);
|
||
|
}
|