memory warning

This commit is contained in:
Cloud Wu
2016-05-06 20:37:51 +08:00
parent a6299a0748
commit 76d1e6fa1f
4 changed files with 26 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ main(int argc, char *argv[]) {
struct skynet_config config;
struct lua_State *L = lua_newstate(skynet_lalloc, NULL);
struct lua_State *L = luaL_newstate();
luaL_openlibs(L); // link lua lib
int err = luaL_loadstring(L, load_config);