projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04805fc
)
Revert "eet: fix memory leak in eet_cipher"
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 19 Jan 2015 13:44:13 +0000
(14:44 +0100)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 19 Jan 2015 13:44:13 +0000
(14:44 +0100)
This reverts commit
d25d56758c735cdf5760278f8a97e9c6b8ec7355
.
That patch was leading to double. Thanks ami for finding it.
src/lib/eet/eet_cipher.c
patch
|
blob
|
history
diff --git
a/src/lib/eet/eet_cipher.c
b/src/lib/eet/eet_cipher.c
index
66ee245
..
2dd4d07
100644
(file)
--- 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;