Skip to content

Commit db94f2d

Browse files
Terminus-IMRCpopcornmix
authored andcommitted
vcsm: Fix memory leaking on clean_invalid2 ioctl handler
Signed-off-by: Sugizaki Yukimasa <i.can.speak.c.and.basic@gmail.com>
1 parent 5f40f56 commit db94f2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/char/broadcom/vc_sm/vmcs_sm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2990,7 +2990,7 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
29902990
op->block_count, op->block_size,
29912991
op->inter_block_stride, op->invalidate_mode);
29922992
if (ret)
2993-
goto out;
2993+
break;
29942994
}
29952995
kfree(block);
29962996
}

0 commit comments

Comments
 (0)