wgtpkg-unit: Fix Segmentation fault 57/19957/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 15:11:42 +0000 (16:11 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 15:16:34 +0000 (16:16 +0100)
commit765d08087bf422c821556400a68e1fb4868f85f3
tree115323368acb46e82b3f7a00dad966c1fd29f29b
parentd0cb2a7a1e068a38b4a0c3216ccdbce0e33ecffb
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