forked from enlightenment/efl
cpphash: Fix not to access freed pointer.
This commit is contained in:
parent
967c7c7195
commit
6262cbfb62
|
@ -192,7 +192,7 @@ cpp_hash_cleanup(cpp_reader * pfile EINA_UNUSED)
|
|||
|
||||
for (i = HASHSIZE; --i >= 0;)
|
||||
{
|
||||
while (hashtab[i])
|
||||
delete_macro(hashtab[i]);
|
||||
if (hashtab[i])
|
||||
delete_macro(hashtab[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue