forked from enlightenment/efl
edje: Don't access a garbage pointer.
set null to avoid multiple access. At 221 line, it tries to free tmp again.
This commit is contained in:
parent
1179058017
commit
5ea2f94ffb
|
@ -102,6 +102,7 @@ code_parse_internal(Code *code)
|
|||
{
|
||||
if (tmp->str) free(tmp->str);
|
||||
free(tmp);
|
||||
tmp = NULL;
|
||||
}
|
||||
|
||||
switch (token->type)
|
||||
|
|
Loading…
Reference in New Issue