diff options
| author | 2015-05-05 18:36:28 -0400 | |
|---|---|---|
| committer | 2015-05-08 15:26:03 +0200 | |
| commit | 1dbdf10471cec85f8ea036d609097552eb0ac441 (patch) | |
| tree | 3ab863bf06c365013fddb634a7ad4dcb3f03f486 | |
| parent | staging: unisys: visorchipset.c: No need to include memregion.h anymore (diff) | |
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>
| -rw-r--r-- | drivers/staging/unisys/visorbus/visorchannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c index faafa797ee78..e555476be54d 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/staging/unisys/visorbus/visorchannel.c @@ -236,7 +236,7 @@ visorchannel_clear(struct visorchannel *channel, ulong offset, u8 ch, written += thisbytes; nbytes -= thisbytes; } - return 0; + err = 0; cleanup: vfree(buf); |
