Skip to content
Commit 47966e97 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: compress: Use kzalloc() for ioctls writing back data



Like the previous patch by Dan, we should clear the data to be
returned from certain compress ioctls, namely,
snd_compr_get_codec_caps() and snd_compr_get_params().
This time, we can simply replace kmalloc() with kzalloc().

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1c62e9f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment