summaryrefslogtreecommitdiff
path: root/sound/sparc/dbri.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-18 09:59:12 +0300
committerTakashi Iwai <tiwai@suse.de>2015-05-18 10:10:45 +0300
commit90a409aad45dedc41129e0ec257b41de901b8897 (patch)
tree31fd899ae39113c1c01053fcc709338d3ce99c29 /sound/sparc/dbri.c
parent1a5bc8d95020c5a81264146c94102baec6ab0861 (diff)
downloadlinux-90a409aad45dedc41129e0ec257b41de901b8897.tar.xz
ALSA: info: Fix leaks of child entries at snd_info_free_entry()
snd_info_free_entry() releases the all children nodes as well, but due to the wrong timing of releasing the link, the children nodes may be disconnected but left unreleased. This patch fixes it by moving the link free at the right position. Also it eases list_for_each_entry() without _safe option in snd_info_disconnect() because it no longer frees the children nodes there. Fixes: c560a6797e3b ('ALSA: core: Remove child proc file elements recursively') Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sparc/dbri.c')
0 files changed, 0 insertions, 0 deletions