eet: Fix memleak during cipher.

SVN revision: 39331
This commit is contained in:
Cedric BAIL 2009-03-02 14:43:57 +00:00
parent 2b196bcc54
commit 1d1335498c
1 changed files with 1 additions and 1 deletions

View File

@ -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++)