Memory leak in DrawFileItem(), found by NuPogodi.

This commit is contained in:
Tigran Aivazian
2012-08-27 14:50:09 +01:00
parent 5576890263
commit 601b7b9d69

View File

@@ -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