aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-01-19 14:44:13 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-01-19 14:44:13 +0100
commitb9db9ca2e359ad75e9df52542a3864c19ad14f5e (patch)
tree13b1208e6f71abe657e1e4ecf1b967d40a7c694c /src/lib/eet
parentexamples/evas: Add evas_3d_shadows binary to .gitignore (diff)
downloadefl-b9db9ca2e359ad75e9df52542a3864c19ad14f5e.tar.gz
Revert "eet: fix memory leak in eet_cipher"
This reverts commit d25d56758c735cdf5760278f8a97e9c6b8ec7355. That patch was leading to double. Thanks ami for finding it.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_cipher.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c
index 66ee245ae2..2dd4d07872 100644
--- a/src/lib/eet/eet_cipher.c
+++ b/src/lib/eet/eet_cipher.c
@@ -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;