mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fixed a memory leak in love.graphics.newText.
This commit is contained in:
@@ -632,6 +632,7 @@ int w_newText(lua_State *L)
|
||||
}
|
||||
|
||||
luax_pushtype(L, GRAPHICS_TEXT_ID, t);
|
||||
t->release();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user