Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_menus.c 


Log Message:
Bad me, use calloc.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -3 -r1.211 -r1.212
--- e_int_menus.c       6 Apr 2007 01:00:54 -0000       1.211
+++ e_int_menus.c       6 Apr 2007 09:55:16 -0000       1.212
@@ -1266,7 +1266,7 @@
        char *abbv;
        const char *left, *right;
 
-       abbv = malloc(E_CLIENTLIST_MAX_CAPTION_LEN + 4);
+       abbv = calloc(E_CLIENTLIST_MAX_CAPTION_LEN + 4, sizeof(char));
        left = title;
        right = title + (strlen(title) - (max_len / 2));
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to