add comment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jay 2019-12-10 14:39:26 +00:00
parent 45a68df83d
commit c4881f2e09

View File

@ -104,6 +104,7 @@ func (f *Framebuffer) Init(dev string) {
}
// Release open file
func (f *Framebuffer) Release() {
C.munmap(unsafe.Pointer(&f.Data[0]), C.size_t(f.Screensize))
C.close(C.int(f.Fd))