Enlightenment CVS committal
Author : rephorm
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_evas
Modified Files:
ecore_evas_fb.c ecore_evas_private.h
Log Message:
plug leak.
mark driver as const so its more obvious not to strdup
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_fb.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ecore_evas_fb.c 2 Aug 2006 21:41:10 -0000 1.20
+++ ecore_evas_fb.c 20 Oct 2006 01:46:41 -0000 1.21
@@ -584,7 +584,7 @@
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 (w < 1) w = 1;
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_private.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ecore_evas_private.h 27 Jul 2006 16:14:33 -0000 1.24
+++ ecore_evas_private.h 20 Oct 2006 01:46:41 -0000 1.25
@@ -155,7 +155,7 @@
Ecore_List __list_data;
ECORE_MAGIC;
Evas *evas;
- char *driver;
+ const char *driver;
char *name;
int x, y, w, h;
short rotation;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs