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:
parent
fb455a671c
commit
0054c771b2
|
@ -94,6 +94,7 @@ static int l_lovrMathNewCurve(lua_State* L) {
|
|||
}
|
||||
|
||||
luax_pushobject(L, curve);
|
||||
lovrRelease(curve);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue