mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Do not attempt to free pointer to scratch buffer
--HG-- branch : minor
This commit is contained in:
@@ -1899,8 +1899,7 @@ int w_line(lua_State *L)
|
||||
}
|
||||
|
||||
luax_catchexcept(L,
|
||||
[&](){ instance()->polyline(coords, args); },
|
||||
[&](bool) { delete[] coords; }
|
||||
[&](){ instance()->polyline(coords, args); }
|
||||
);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user