Fixed a memory leak in love.graphics.newText.

This commit is contained in:
Alex Szpakowski
2015-03-16 03:13:10 -03:00
parent d00773b974
commit 14cbc91e7f
7 changed files with 14 additions and 20 deletions
@@ -632,6 +632,7 @@ int w_newText(lua_State *L)
}
luax_pushtype(L, GRAPHICS_TEXT_ID, t);
t->release();
return 1;
}