git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@73400
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Render_Engine *re;
re = (Render_Engine *)data;
- evas_gl_common_context_free(re->gl_context);
- free(re);
- evas_common_font_shutdown();
- evas_common_image_shutdown();
+ if (re)
+ {
+ evas_gl_common_context_free(re->gl_context);
+ free(re);
+
+ evas_common_font_shutdown();
+ evas_common_image_shutdown();
- SDL_QuitSubSystem(SDL_INIT_VIDEO);
+ SDL_QuitSubSystem(SDL_INIT_VIDEO);
+ }
}
static void