wgtpkg-unit: Fix Segmentation fault 59/19959/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 15:11:42 +0000 (16:11 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 6 Feb 2019 16:13:36 +0000 (16:13 +0000)
commit8e5fc40306a5698c43079ff048155a9811eec062
treed19f5596054b17781f363a49ba9caec309900777
parent728c66530f2b3c1a6cbfc905bae93cd72d6cf42d
wgtpkg-unit: Fix Segmentation fault

This fixes a segmentation fault raised when
uninstalling a widget. This regression was
introduced by the commit f8b0495.

Bug-AGL: SPEC-2144

Change-Id: Ie10eb97a4d2f2663d73f83b210ef2b17717ed2e6
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/wgtpkg-unit.c