浏览代码

detail (comment)

Roberto Ierusalimschy 10 年之前
父节点
当前提交
65ac789565
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ltable.c

+ 2 - 2
ltable.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: ltable.c,v 2.107 2015/03/30 15:36:53 roberto Exp roberto $
+** $Id: ltable.c,v 2.108 2015/03/30 19:51:00 roberto Exp roberto $
 ** Lua tables (hash)
 ** Lua tables (hash)
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -369,7 +369,7 @@ void luaH_resize (lua_State *L, Table *t, unsigned int nasize,
     }
     }
   }
   }
   if (!isdummy(nold))
   if (!isdummy(nold))
-    luaM_freearray(L, nold, cast(size_t, twoto(oldhsize))); /* free old array */
+    luaM_freearray(L, nold, cast(size_t, twoto(oldhsize))); /* free old hash */
 }
 }