Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_x11 Modified Files: evas_x_buffer.c Log Message: i've forgotten to remove that :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_x11/evas_x_buffer.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- evas_x_buffer.c 10 Mar 2006 19:10:07 -0000 1.2 +++ evas_x_buffer.c 10 Mar 2006 19:12:57 -0000 1.3 @@ -83,7 +83,7 @@ evas_software_x11_x_output_buffer_new(Display *d, Visual *v, int depth, int w, int h, int try_shm, void *data) { X_Output_Buffer *xob; -char *tmp = (char *)malloc (2); + xob = calloc(1, sizeof(X_Output_Buffer)); if (!xob) return NULL; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs