Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: Check if calloc succeded. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.207 retrieving revision 1.208 diff -u -3 -r1.207 -r1.208 --- e_border.c 17 May 2005 12:33:12 -0000 1.207 +++ e_border.c 17 May 2005 13:51:14 -0000 1.208 @@ -468,6 +468,7 @@ E_Border_Pending_Move_Resize *pnd; pnd = E_NEW(E_Border_Pending_Move_Resize, 1); + if (!pnd) return; pnd->move = 1; pnd->x = x; pnd->y = y; @@ -504,6 +505,7 @@ E_Border_Pending_Move_Resize *pnd; pnd = E_NEW(E_Border_Pending_Move_Resize, 1); + if (!pnd) return; pnd->resize = 1; pnd->w = w; pnd->h = h; @@ -542,6 +544,7 @@ E_Border_Pending_Move_Resize *pnd; pnd = E_NEW(E_Border_Pending_Move_Resize, 1); + if (!pnd) return; pnd->move = 1; pnd->resize = 1; pnd->x = x; ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs