Fix widget_viewer_sdk memory leak 98/212998/1
authorhyunho <hhstark.kang@samsung.com>
Thu, 29 Aug 2019 07:06:04 +0000 (16:06 +0900)
committerhyunho <hhstark.kang@samsung.com>
Thu, 29 Aug 2019 07:06:04 +0000 (16:06 +0900)
Change-Id: Ic159393e639195930407f14dddb58a56bb4dffa5
Signed-off-by: hyunho <hhstark.kang@samsung.com>
widget_viewer_sdk/src/main.c

index 4c0bb55..5c97304 100644 (file)
@@ -294,6 +294,7 @@ void  __clock_vconf_cb(keynode_t *node, void *data)
                ui_app_exit();
                LOGW("same watch displayed on the other viewer EXIT");
        }
+       free(cur_watch);
 }
 
 static bool app_create(void *data)