Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44731
b: refs/heads/master
c: 4d36128
h: refs/heads/master
i:
  44729: 33cb4cd
  44727: e0b950a
v: v3
  • Loading branch information
Akinobu Mita authored and Jaroslav Kysela committed Dec 20, 2006
1 parent 1631ea6 commit a86aabd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c13893d7be4f159b359a1b7ee46b3646ecb2fe20
refs/heads/master: 4d361285925613516560f81f8c7fc96b89c8b1a8
4 changes: 4 additions & 0 deletions trunk/sound/core/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,10 @@ int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count)
err = snd_pcm_substream_proc_init(substream);
if (err < 0) {
snd_printk(KERN_ERR "Error in snd_pcm_stream_proc_init\n");
if (prev == NULL)
pstr->substream = NULL;
else
prev->next = NULL;
kfree(substream);
return err;
}
Expand Down

0 comments on commit a86aabd

Please sign in to comment.