]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: Set uc_mgr->ctl to NULL after closing it.
authorTanu Kaskinen <tanuk@iki.fi>
Sat, 26 Jan 2013 12:20:20 +0000 (14:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Jan 2013 09:22:30 +0000 (10:22 +0100)
commit1629e2fbf3dc211eceb37f980e11e5babe1cefe4
tree4da3bdf2153ae670fec665238732c7931b1b5717
parentb11911dddf2fd58e24c808da26105cb1e1bce722
ucm: Set uc_mgr->ctl to NULL after closing it.

Fixes a double-free bug.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/ucm/main.c