for those it's good to use evas_object_data_del(), it also returns the pointer so you'd avoid this crash.
On Fri, Feb 21, 2014 at 6:17 AM, Sung W. Park <[email protected]> wrote: > sung pushed a commit to branch master. > > > http://git.enlightenment.org/core/elementary.git/commit/?id=5c65df8c7f4ddae5f916fa48e6063c7f2133cb58 > > commit 5c65df8c7f4ddae5f916fa48e6063c7f2133cb58 > Author: Sung W. Park <[email protected]> > Date: Sat Feb 22 03:15:57 2014 +0900 > > elementary_test glview: fixed segv on close > > It was deleting gldata object twice upon closing the program. > --- > src/bin/test_glview.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/src/bin/test_glview.c b/src/bin/test_glview.c > index 463761c..c840b97 100644 > --- a/src/bin/test_glview.c > +++ b/src/bin/test_glview.c > @@ -516,9 +516,7 @@ static void > _del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, > void *event_info EINA_UNUSED) > { > Ecore_Animator *ani = evas_object_data_get(obj, "ani"); > - GLData *gld = evas_object_data_get(obj, "gld"); > ecore_animator_del(ani); > - free(gld); > } > > static void > > -- > > > -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (19) 9225-2202 Contact: http://www.gustavobarbieri.com.br/contact ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
