1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-04 13:33:34 +00:00

Properly release Curves on creation;

This commit is contained in:
bjorn 2018-12-02 12:51:20 -08:00
parent fb455a671c
commit 0054c771b2

View file

@ -94,6 +94,7 @@ static int l_lovrMathNewCurve(lua_State* L) {
}
luax_pushobject(L, curve);
lovrRelease(curve);
return 1;
}