From: Daniel Juyung Seo Date: Thu, 4 Nov 2010 01:29:04 +0000 (+0900) Subject: [elm_navigationbar.c] Fixed accessing to freed memory. X-Git-Tag: sbs-working-i386~66^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bd4caf2c40c42339d1f212a4348fa0fe8a8d8a6;p=framework%2Fuifw%2Felementary.git [elm_navigationbar.c] Fixed accessing to freed memory. --- diff --git a/src/lib/elm_navigationbar.c b/src/lib/elm_navigationbar.c index f320f8f..56cc4bf 100644 --- a/src/lib/elm_navigationbar.c +++ b/src/lib/elm_navigationbar.c @@ -620,10 +620,10 @@ elm_navigationbar_push(Evas_Object *obj, cb->first_page = EINA_TRUE; } _transition_complete_cb(cb); - free(cb); //push content to pager if(!cb->first_page) wd->pushed = 1; + free(cb); elm_pager_content_push(wd->pager, it->content); //push item into the stack. it should be always the tail if (!_check_item_is_added(obj, content))