forked from enlightenment/efl
emil: resolve possible memory leak.
Submitted-By-Off: JongMin Lee <jm105.lee@samsung.com>
This commit is contained in:
parent
07f7fee2d0
commit
820aca03ea
|
@ -140,7 +140,10 @@ emile_pbkdf2_sha1(const char *key, unsigned int key_len, const unsigned char *sa
|
|||
return EINA_FALSE;
|
||||
step2 = eina_binbuf_manage_new(digest, 20, EINA_TRUE);
|
||||
if (!step2)
|
||||
return EINA_FALSE;
|
||||
{
|
||||
eina_binbuf_free(step1);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
for (i = 1; len; len -= tmp_len, p += tmp_len, i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue