From: JunsuChoi Date: Tue, 18 May 2021 05:41:49 +0000 (+0900) Subject: example: nullptr setting to prevent invalid access X-Git-Tag: submit/tizen/20210520.083834^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=3819b39e057fa5d50dfb8d898029632ed666cf6b;hp=bda7dba7f972f512780b0e51f9bb418fcaddd37b;p=platform%2Fcore%2Fuifw%2Frive-tizen.git example: nullptr setting to prevent invalid access --- diff --git a/example/user_interaction_touch.cpp b/example/user_interaction_touch.cpp index 55bca7b..799cc86 100644 --- a/example/user_interaction_touch.cpp +++ b/example/user_interaction_touch.cpp @@ -126,6 +126,7 @@ static void runExample(uint32_t* buffer) static void cleanExample() { delete animationInstance; + animationInstance = nullptr; } static void mouseUpCb(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info)