mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
Merge pull request #1202 from DiUS/crypto-fix-double-free
Fixed double-free in crypto module
This commit is contained in:
commit
e99f44350b
@ -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