]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: log an error on double free
authorVinod Koul <vinod.koul@intel.com>
Mon, 20 Oct 2014 15:24:31 +0000 (20:54 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 21 Oct 2014 22:58:59 +0000 (23:58 +0100)
commit41512bbb2183873534ec146462fa64518913d398
treebe91cf3e1a2176b536cbd6bdf35b5ac17e8f6983
parentdd3cfdaaec47a63de66a5db2f38cb8574fc9c5a9
ASoC: intel: log an error on double free

the stream context should be freed only once on stream cleanup. If we ever
hit a chance that stream context is getting double freed, though not an
cause of panic as memory allocator can deal with this, we should still log
this to help in finding issues and debugging

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst/sst_drv_interface.c