summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-09-30 17:35:01 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-30 17:36:41 +0200
commitcbb42957b7f0fb3689b0df439ffd80d5bb9f4758 (patch)
treeaeb8a2b7c4395c66f267ff0e76301d83ebabb174 /src/bin/edje
parentebaec0dfaf71cbaa9808141a6690bfd4d592bd1a (diff)
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>
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 577b5c65df..a7a210c7ff 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -11135,6 +11135,7 @@ ob_collections_group_programs_program_script(void)
11135 else 11135 else
11136 { 11136 {
11137 data_queue_anonymous_lookup(pc, current_program, NULL); 11137 data_queue_anonymous_lookup(pc, current_program, NULL);
11138 free(cp->original);
11138 free(cp); 11139 free(cp);
11139 cp = NULL; 11140 cp = NULL;
11140 } 11141 }