Fix unnecessary string copy
This commit is contained in:
@@ -119,7 +119,7 @@ const char *name;
|
||||
const char *value;
|
||||
{
|
||||
lua_pushstring(L, name);
|
||||
lua_pushstring(L, dupstr(value));
|
||||
lua_pushstring(L, value);
|
||||
lua_rawset(L, -3);
|
||||
}
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user