Re: ALSA: Remove subsystem-specific malloc (1/8)

Pekka J Enberg
2004-06-11T10:43:57Z

Hi,

On 6/11/2004, "Takashi Iwai" <tiwai@suse.de> wrote:
> I don't think the shortcut is necessary, too.
> By calling kmalloc with 0, the same behavior as kmalloc is
> guaranteed.

Agreed. I'm wondering if the overflow case should set size to zero and call
kmalloc() as well.

Pekka