mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
bugfix, See issue #1027
This commit is contained in:
@@ -935,6 +935,7 @@ new_string(unsigned int h, const char *str, lu_byte l) {
|
||||
memset(ts, 0, sz);
|
||||
setbits(ts->marked, WHITEBITS);
|
||||
gray2black(ts);
|
||||
makeshared(ts);
|
||||
ts->tt = LUA_TSHRSTR;
|
||||
ts->hash = h;
|
||||
ts->shrlen = l;
|
||||
|
||||
Reference in New Issue
Block a user