forked from enlightenment/efl
plug leak.
mark driver as const so its more obvious not to strdup SVN revision: 26699
This commit is contained in:
parent
86352e8677
commit
000776d5fd
|
@ -584,7 +584,7 @@ ecore_evas_fb_new(char *disp_name, int rotation, int w, int h)
|
||||||
|
|
||||||
ee->engine.func = (Ecore_Evas_Engine_Func *)&_ecore_fb_engine_func;
|
ee->engine.func = (Ecore_Evas_Engine_Func *)&_ecore_fb_engine_func;
|
||||||
|
|
||||||
ee->driver = strdup("fb");
|
ee->driver = "fb";
|
||||||
if (disp_name) ee->name = strdup(disp_name);
|
if (disp_name) ee->name = strdup(disp_name);
|
||||||
|
|
||||||
if (w < 1) w = 1;
|
if (w < 1) w = 1;
|
||||||
|
|
|
@ -155,7 +155,7 @@ struct _Ecore_Evas
|
||||||
Ecore_List __list_data;
|
Ecore_List __list_data;
|
||||||
ECORE_MAGIC;
|
ECORE_MAGIC;
|
||||||
Evas *evas;
|
Evas *evas;
|
||||||
char *driver;
|
const char *driver;
|
||||||
char *name;
|
char *name;
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
short rotation;
|
short rotation;
|
||||||
|
|
Loading…
Reference in New Issue