explicitly call free method of Blitbuffer
This commit is contained in:
1 parent
8e4516b824
commit
14e94f39a4
1 file changed
+1
@@ -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