Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        iclass.c pager.c tclass.c 


Log Message:
Valgrind revelations.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iclass.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- iclass.c    4 May 2004 19:04:29 -0000       1.36
+++ iclass.c    30 May 2004 01:46:47 -0000      1.37
@@ -912,7 +912,6 @@
 void
 FreePmapMask(PmapMask * pmm)
 {
-
    /* type !=0: Created by imlib_render_pixmaps_for_whole_image... */
    if (pmm->pmap)
      {
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- pager.c     22 May 2004 19:31:13 -0000      1.89
+++ pager.c     30 May 2004 01:46:47 -0000      1.90
@@ -184,7 +184,7 @@
        did_dialog = 1;
      }
    GetAreaSize(&ax, &ay);
-   p = Emalloc(sizeof(Pager));
+   p = Ecalloc(1, sizeof(Pager));
    p->name = NULL;
    attr.colormap = VRoot.cmap;
    attr.border_pixel = 0;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/tclass.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- tclass.c    29 May 2004 19:01:59 -0000      1.25
+++ tclass.c    30 May 2004 01:46:47 -0000      1.26
@@ -109,8 +109,7 @@
 
    EDBUG(6, "CreateTextState");
 
-   ts = Emalloc(sizeof(TextState));
-
+   ts = Ecalloc(1, sizeof(TextState));
    if (!ts)
       EDBUG_RETURN(NULL);
 




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to