[elm_gl_view] fix memory leak in elm_gl_view
authorsunghyun kim <scholb.kim@samsung.com>
Thu, 10 Nov 2016 13:23:18 +0000 (22:23 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 17 Nov 2016 08:07:48 +0000 (17:07 +0900)
Delete evas_gl_make_current() in elm_gl_view because of memoryleak.

Change-Id: I44557c5beb3394ed976a2b3a10bc37bb82247c1a

src/lib/elm_glview.c

index 1cc4174e8da6f353dfaca9af673510fb963a101e..565b347149fbebda777199e4a9980dd3487a4205 100644 (file)
@@ -53,7 +53,8 @@ _glview_update_surface(Evas_Object *obj)
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
    if (!sd) return;
 
-   evas_gl_make_current(sd->evasgl, NULL, NULL);
+   //Tizen Only(161110) : delete evas_gl_make_current because of memory leak
+  // evas_gl_make_current(sd->evasgl, NULL, NULL);
 
    if (sd->surface)
      {