evas/evas_gl - fixed to release magic field and it's data type
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 16 Jun 2011 11:12:40 +0000 (11:12 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 16 Jun 2011 11:12:40 +0000 (11:12 +0000)
SVN revision: 60387

legacy/evas/src/lib/canvas/evas_gl.c

index 39efd3e..7850939 100644 (file)
@@ -5,7 +5,7 @@
 
 struct _Evas_GL
 {
-   int         magic;
+   DATA32      magic;
    Evas       *evas;
 
    Eina_List  *contexts;
@@ -56,8 +56,8 @@ evas_gl_free(Evas_GL *evas_gl)
    while (evas_gl->contexts)
      evas_gl_context_destroy(evas_gl, evas_gl->contexts->data);
 
+   evas_gl->magic = 0;
    free(evas_gl);
-   evas_gl = NULL;
 }
 
 EAPI Evas_GL_Surface *