From f2991f555d428b4001451b3f95d78bb57a310d67 Mon Sep 17 00:00:00 2001 From: Bernd Meyer Date: Wed, 30 Mar 2016 11:53:39 +1100 Subject: [PATCH] Remove improper free of userdata; It's for the garbage collection to free --- app/modules/crypto.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/modules/crypto.c b/app/modules/crypto.c index 87b18146..1f9f189f 100644 --- a/app/modules/crypto.c +++ b/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; }