Fix unnecessary string copy

This commit is contained in:
Pasi Kallinen
2019-11-20 21:20:35 +02:00
parent a338f8bd88
commit cb4d350424

View File

@@ -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