1. 09 9月, 2008 1 次提交
  2. 02 10月, 2008 1 次提交
  3. 25 8月, 2008 1 次提交
    • J
      ALSA: ASoC: Fix double free and memory leak in many codec drivers · 3051e41a
      Jean Delvare 提交于
      Many SoC audio codec drivers have improper freeing of memory in error
      paths.
      
      * codec is allocated in the platform device probe function, but is not
        freed there in case of error. Instead it is freed in the i2c device
        probe function's error path. However the success or failure of both
        functions is not linked, so this could result in a double free (if
        the platform device is successfully probed, the i2c device probing
        fails and then the platform driver is unregistered.)
      
      * codec->private_data is allocated in many platform device probe
        functions but not freed in their error paths.
      
      This patch hopefully solves all these problems.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3051e41a
  4. 24 8月, 2008 1 次提交
  5. 10 7月, 2008 1 次提交
  6. 26 6月, 2008 1 次提交
  7. 13 6月, 2008 2 次提交
  8. 19 5月, 2008 2 次提交
  9. 01 5月, 2008 1 次提交
  10. 24 4月, 2008 2 次提交
  11. 01 2月, 2008 2 次提交
  12. 11 5月, 2007 1 次提交