aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2010-07-23 05:53:53 +0000
committerMark Brown <[email protected]>2010-08-03 07:46:27 +0100
commitd484366beeab0cded9644083172151c5afacc503 (patch)
treea560757325c9c842e12c4f87b25e759b1997a341 /net/unix/sysctl_net_unix.c
parent4eaac50552395f693b8c428872e8b5311c3dab60 (diff)
ASoC: wm8978: fix a memory leak if a wm8978_register fail
There is a memory leak found if wm8978_register() fail. This patch moves the buffer allocate and release at the same level to prevent the memory leak. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions