diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 12:46:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 12:46:22 -0400 |
commit | 63f3d1df1ad276a30b75339dd682a6e1f9d0c181 (patch) | |
tree | 91240ae476d553bda4a92b52ff46823421798f6c /sound/synth/util_mem.c | |
parent | a8cd2e5045688157479a654786b2c08ab85f4d8f (diff) | |
parent | 676e1a2c1e7499eee8e7a81e577b4b6ba71ffb25 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa-current
Diffstat (limited to 'sound/synth/util_mem.c')
-rw-r--r-- | sound/synth/util_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/synth/util_mem.c b/sound/synth/util_mem.c index 8b131a11e549..5f75bf31bc36 100644 --- a/sound/synth/util_mem.c +++ b/sound/synth/util_mem.c | |||
@@ -38,7 +38,7 @@ snd_util_memhdr_new(int memsize) | |||
38 | { | 38 | { |
39 | snd_util_memhdr_t *hdr; | 39 | snd_util_memhdr_t *hdr; |
40 | 40 | ||
41 | hdr = kcalloc(1, sizeof(*hdr), GFP_KERNEL); | 41 | hdr = kzalloc(sizeof(*hdr), GFP_KERNEL); |
42 | if (hdr == NULL) | 42 | if (hdr == NULL) |
43 | return NULL; | 43 | return NULL; |
44 | hdr->size = memsize; | 44 | hdr->size = memsize; |