forked from enlightenment/efl
edje_cc: fix memory leak.
Summary: Free cp->original before freeing cp. @fix Reviewers: cedric, seoz Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1496 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
ebaec0dfaf
commit
cbb42957b7
|
@ -11135,6 +11135,7 @@ ob_collections_group_programs_program_script(void)
|
|||
else
|
||||
{
|
||||
data_queue_anonymous_lookup(pc, current_program, NULL);
|
||||
free(cp->original);
|
||||
free(cp);
|
||||
cp = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue