Fix the prevent issue.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:06:41 +0000 (10:06 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:06:41 +0000 (10:06 +0900)
Use after free bug.

Change-Id: I64c0b5ba5eb72f588777a5d434a4a5e525b7ac0a

icon_src/script_handler.c

index 23ef817..8aad8f5 100644 (file)
@@ -1340,6 +1340,7 @@ HAPI int script_handler_parse_desc(Evas_Object *edje, const char *descfile)
                        }
 
                        consuming_parsed_block(edje, lineno, block);
+                       block = NULL;
                        state = UNKNOWN;
                        break;