On Fri, 2009-05-15 at 11:11 -0700, Enlightenment SVN wrote:
> Log:
>   use E_NEW & E_FREE macros
>   
> Author:       devilhorns
> Date:         2009-05-15 11:11:41 -0700 (Fri, 15 May 2009)
> New Revision: 40680
> 
> Modified:
>   trunk/e/src/bin/e_pan.c 
> 
> Modified: trunk/e/src/bin/e_pan.c
> ===================================================================
> --- trunk/e/src/bin/e_pan.c   2009-05-15 17:59:02 UTC (rev 40679)
> +++ trunk/e/src/bin/e_pan.c   2009-05-15 18:11:41 UTC (rev 40680)
> @@ -171,7 +171,7 @@
>  {
>     E_Smart_Data *sd;
>  
> -   sd = calloc(1, sizeof(E_Smart_Data));
> +   sd = E_NEW(fSmart_Data, 1);
>     if (!sd) return;
>     sd->smart_obj = obj;
>     sd->x = 0;
> @@ -186,7 +186,7 @@
>  {
>     INTERNAL_ENTRY;
>     e_pan_child_set(obj, NULL);
> -   free(sd);
> +   E_FREE(sd);
>  }
>  
>  static void
> 
> 

"fSmart_Data", maybe that's a typo?
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables 
> unlimited royalty-free distribution of the report engine 
> for externally facing server and web deployment. 
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to