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

Fixed double-free in crypto module
This commit is contained in:
Terry Ellison 2016-03-30 10:13:16 +01:00
commit e99f44350b
1 changed files with 0 additions and 1 deletions

View File

@ -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;
} }