mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
explicitly call free method of Blitbuffer
This commit is contained in:
@@ -151,6 +151,7 @@ function CreDocument:drawCurrentView(target, x, y, rect, pos)
|
||||
tile_bb = Blitbuffer.new(rect.w, rect.h)
|
||||
self._document:drawCurrentPage(tile_bb)
|
||||
target:blitFrom(tile_bb, x, y, 0, 0, rect.w, rect.h)
|
||||
tile_bb:free()
|
||||
end
|
||||
|
||||
function CreDocument:drawCurrentViewByPos(target, x, y, rect, pos)
|
||||
|
||||
Reference in New Issue
Block a user