Commit 1dbdf104 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visorchannel_clear(): Avoid 64KB memory leak

parent ff7bd1fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ visorchannel_clear(struct visorchannel *channel, ulong offset, u8 ch,
		written += thisbytes;
		nbytes -= thisbytes;
	}
	return 0;
	err = 0;

cleanup:
	vfree(buf);