瀏覽代碼

Remove improper free of userdata; It's for the garbage collection to free

Bernd Meyer 8 年之前
父節點
當前提交
f2991f555d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      app/modules/crypto.c

+ 0 - 1
app/modules/crypto.c

@@ -238,7 +238,6 @@ static int crypto_hash_gcdelete (lua_State *L)
   luaL_argcheck(L, dudat, 1, "crypto.hash expected");
 
   os_free(dudat->ctx);
-  os_free(dudat);
 
   return 0;
 }