Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : proto

Dir     : e17/proto/esmart/src/trans


Modified Files:
        esmart_trans.c 


Log Message:
Zero out the whole struct, not just the first 4-8 bytes.

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/trans/esmart_trans.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- esmart_trans.c      9 Dec 2003 04:43:48 -0000       1.5
+++ esmart_trans.c      12 Jan 2004 15:54:12 -0000      1.6
@@ -215,7 +215,7 @@
   Esmart_Trans_X11 *data;
  
   data = (Esmart_Trans_X11*)malloc(sizeof(Esmart_Trans_X11));
-  memset(data, 0, sizeof(Esmart_Trans_X11*));
+  memset(data, 0, sizeof(Esmart_Trans_X11));
       
   data->clip = evas_object_rectangle_add(evas_object_evas_get(o));
   evas_object_color_set(data->clip, 255, 255, 255, 255);




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to