Re: [PATCH 2/2] malloc -> calloc and fix some memory leaks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 2, 2010 at 05:43, Yin Kangkai <kangkai.yin@xxxxxxxxxxxxxxx> wrote:
> From fd81bea16d3e1e93aebc8cb80ec16ae9c20c6e41 Mon Sep 17 00:00:00 2001
> From: Yin Kangkai <kangkai.yin@xxxxxxxxx>
> Date: Mon, 2 Aug 2010 11:22:49 +0800
> Subject: [PATCH 2/2] malloc -> calloc and fix some memory leaks.
>
> calloc so that we do not need to memset each of them.

Any reason to change things to calloc() where no memset() is done or needed?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux