Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371874
b: refs/heads/master
c: e1328a8
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Mar 12, 2013
1 parent 1125d55 commit 7ac4b32
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: 2db6be6a7b3edc8a5acea99b817eb7b9e608e931
refs/heads/master: e1328a832c7eeeb4dd3c3666605717c555de9e83
4 changes: 4 additions & 0 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4096,6 +4096,10 @@ int snd_soc_register_codec(struct device *dev,
return 0;

fail_codec_name:
mutex_lock(&client_mutex);
list_del(&codec->list);
mutex_unlock(&client_mutex);

kfree(codec->name);
fail_codec:
kfree(codec);
Expand Down

0 comments on commit 7ac4b32

Please sign in to comment.