Commit e99f4435 authored by Terry Ellison's avatar Terry Ellison
Browse files

Merge pull request #1202 from DiUS/crypto-fix-double-free

Fixed double-free in crypto module
parents 1991dfee f2991f55
...@@ -238,7 +238,6 @@ static int crypto_hash_gcdelete (lua_State *L) ...@@ -238,7 +238,6 @@ static int crypto_hash_gcdelete (lua_State *L)
luaL_argcheck(L, dudat, 1, "crypto.hash expected"); luaL_argcheck(L, dudat, 1, "crypto.hash expected");
os_free(dudat->ctx); os_free(dudat->ctx);
os_free(dudat);
return 0; return 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment