mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			925 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			925 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From db94f2d8cd525644b1d02ff762557283b7005b29 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 170/277] 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(-)
 | |
| 
 | |
| diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c
 | |
| index 95963ffba51a..380437f41cc6 100644
 | |
| --- 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 *file, unsigned int cmd, unsigned long arg)
 | |
|  							op->block_count, op->block_size,
 | |
|  							op->inter_block_stride, op->invalidate_mode);
 | |
|  					if (ret)
 | |
| -						goto out;
 | |
| +						break;
 | |
|  				}
 | |
|  				kfree(block);
 | |
|  			}
 | |
| -- 
 | |
| 2.16.1
 | |
| 
 |