mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Remove improper free of userdata; It's for the garbage collection to free
This commit is contained in:
parent
41037ef304
commit
f2991f555d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user