Fix Mismatched free (iri_t)
authorJihoon Chung <jihoon.chung@samsaung.com>
Fri, 25 Oct 2013 01:38:35 +0000 (10:38 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Fri, 25 Oct 2013 03:58:17 +0000 (12:58 +0900)
commit01cd6f6d1a719bbc91dc6af8c723322b6e9f8db8
tree74daba1b3fe605f96490c61fe20465647b4a9744
parentdd60959facdf7f148d2509b1892c0a4e060cf58f
Fix Mismatched free (iri_t)

[Issue#]   LINUXWRT-1065
[Problem]  As a result of valgrind, memory mismatched free detected.
[Cause]    Iri data structure, "iri_t", should be alloc by iri_parse and released by iri_destory.
           Some part doesn't use "iri_destory" when release "iri_t".
[Solution] Change use case from DPL::ScropedPtr to unique_ptr with deleter(iri_destory).

[Verification] Retest valgrind.
[SCMRequest] N/A

Change-Id: Icbd1e741a1a6545980afc8e4650767309fdf14e1
src/configuration_parser/widget_parser.cpp