Fix the prevent issue. 76/11476/1
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 28 Oct 2013 11:52:19 +0000 (20:52 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 28 Oct 2013 11:52:19 +0000 (20:52 +0900)
commita67e98ef12341bcef0ad12e47329a0766ad699b2
tree9cd9f56c0bd650e8d301a9f4424d785a1dd27847
parent67078432d90e0b5b647243e44ed6163346bf94d7
Fix the prevent issue.

If there is no parsed block, the "filebuf" remains without releasing.
Then it will be the resource(heap) leak.

If there is no parsed block, it means, the inhouse dbox write invalid script content.
But we should care the exceptional case correctly.

This patch will care the invalid script content. (for the empty content)

Change-Id: Id4920b1dbe34f1c5ca7b405d1d5f7ffd8683a2a2
packaging/data-provider-master.spec
src/script_handler.c