On Friday, August 26, 2011 08:47:20 Michal Simek wrote:
>       dev = calloc(1, sizeof(*dev));
>       if (dev == NULL)
>               return -1;
> 
> +     emaclite = calloc(1, sizeof(struct xemaclite));
> +     if (emaclite == NULL)
> +             return -1;

and you just leaked the dev alloc :)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to