Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23600
b: refs/heads/master
c: bda44e1
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Mar 25, 2006
1 parent afe2333 commit 8bbc843
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96a9b4d31eba4722ba7aad2cc15118a7799f499f
refs/heads/master: bda44e1d168ac76fce5183eb141592fc645c7818
6 changes: 4 additions & 2 deletions trunk/sound/oss/awe_wave.c
Original file line number Diff line number Diff line change
Expand Up @@ -2944,7 +2944,7 @@ alloc_new_info(void)
{
awe_voice_list *newlist;

newlist = (awe_voice_list *)kmalloc(sizeof(*newlist), GFP_KERNEL);
newlist = kmalloc(sizeof(*newlist), GFP_KERNEL);
if (newlist == NULL) {
printk(KERN_ERR "AWE32: can't alloc info table\n");
return NULL;
Expand Down Expand Up @@ -3547,8 +3547,10 @@ awe_load_guspatch(const char __user *addr, int offs, int size, int pmgr_flag)
smp->checksum_flag = 0;
smp->checksum = 0;

if ((rc = awe_write_wave_data(addr, sizeof_patch, smprec, -1)) < 0)
if ((rc = awe_write_wave_data(addr, sizeof_patch, smprec, -1)) < 0) {
kfree(vrec);
return rc;
}
sf->mem_ptr += rc;
add_sf_sample(sf, smprec);

Expand Down

0 comments on commit 8bbc843

Please sign in to comment.