Revert "eet: fix memory leak in eet_cipher"

This reverts commit d25d56758c.

That patch was leading to double. Thanks ami for finding it.
This commit is contained in:
Cedric BAIL 2015-01-19 14:44:13 +01:00
parent 04805fc6a1
commit b9db9ca2e3
1 changed files with 2 additions and 4 deletions

View File

@ -1110,10 +1110,8 @@ eet_decipher(const void *data,
err = gcry_cipher_setiv(cipher, iv, MAX_IV_LEN);
if (err)
{
free(ret);
goto on_error;
}
goto on_error;
err = gcry_cipher_setkey(cipher, ik, MAX_KEY_LEN);
if (err)
goto on_error;