bug fix - set window object to NULL when failed to create view 40/45440/1
authorSoohye Shin <soohye.shin@samsung.com>
Thu, 6 Aug 2015 05:57:37 +0000 (14:57 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Thu, 6 Aug 2015 05:59:00 +0000 (14:59 +0900)
Change-Id: I6c1711537c8e576b8d8aef6f7996242572d9f773
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/main.c

index fc117fc..643f7be 100644 (file)
@@ -67,6 +67,7 @@ static bool _create(void *user_data)
        if (!viewmgr_create(ad->win)) {
                _ERR("failed to create viewmgr");
                evas_object_del(ad->win);
+               ad->win = NULL;
                return false;
        }