git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
synth
/
util_mem.c
diff --git
a/sound/synth/util_mem.c
b/sound/synth/util_mem.c
index
00679af
..
8b131a1
100644
(file)
--- a/
sound/synth/util_mem.c
+++ b/
sound/synth/util_mem.c
@@
-38,7
+38,7
@@
snd_util_memhdr_new(int memsize)
{
snd_util_memhdr_t *hdr;
- hdr =
snd_kcalloc(
sizeof(*hdr), GFP_KERNEL);
+ hdr =
kcalloc(1,
sizeof(*hdr), GFP_KERNEL);
if (hdr == NULL)
return NULL;
hdr->size = memsize;