mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Memory leak in DrawFileItem(), found by NuPogodi.
This commit is contained in:
@@ -113,6 +113,7 @@ function DrawFileItem(name,x,y,image)
|
||||
local handle = renderUtf8TextWidth(fb.bb, xleft, y, cface, name, true, width - lgap - x)
|
||||
renderUtf8Text(fb.bb, handle.x + lgap + x, y, cface, " ...", true)
|
||||
end
|
||||
iw:free()
|
||||
end
|
||||
-- end of old NuPogodi's functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user