projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be83f15
)
eet: Fix memleak during cipher.
author
cedric
<cedric>
Mon, 2 Mar 2009 14:43:57 +0000
(14:43 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 2 Mar 2009 14:43:57 +0000
(14:43 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@39331
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_cipher.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_cipher.c
b/src/lib/eet_cipher.c
index
d0cf2e8
..
4bea26f
100644
(file)
--- a/
src/lib/eet_cipher.c
+++ b/
src/lib/eet_cipher.c
@@
-938,7
+938,7
@@
eet_pbkdf2_sha1(const char *key,
HMAC_CTX hctx;
# endif
- buf =
malloc
(salt_len + 4);
+ buf =
alloca
(salt_len + 4);
if (!buf) return 1;
for (i = 1; len; len -= tmp_len, p += tmp_len, i++)