Commit f2991f55 authored by Bernd Meyer's avatar Bernd Meyer Committed by Johny Mattsson
Browse files

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

parent 41037ef3
...@@ -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