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:
Amitesh Singh 2014-09-30 17:35:01 +02:00 committed by Cedric BAIL
parent ebaec0dfaf
commit cbb42957b7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}