staging: unisys: visorchannel_clear(): Avoid 64KB memory leak
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ff7bd1fa9f
commit
1dbdf10471
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ visorchannel_clear(struct visorchannel *channel, ulong offset, u8 ch,
|
|||
written += thisbytes;
|
||||
nbytes -= thisbytes;
|
||||
}
|
||||
return 0;
|
||||
err = 0;
|
||||
|
||||
cleanup:
|
||||
vfree(buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue