Reset block after consuming it.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:13:09 +0000 (10:13 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:13:09 +0000 (10:13 +0900)
Change-Id: I129a1c9424615a2480ac69ac5049675c3a692042

src/script_handler.c

index 40d11c3..76ac35c 100644 (file)
@@ -1200,6 +1200,7 @@ HAPI int script_handler_parse_desc(const char *pkgname, const char *id, const ch
                        }
 
                        consuming_parsed_block(lineno, inst, is_pd, block);
+                       block = NULL;
                        state = UNKNOWN;
                        break;