oss: Fix double free bug on open failure.
authorAndre Noll <maan@systemlinux.org>
Wed, 12 May 2010 21:22:37 +0000 (23:22 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 12 May 2010 21:22:37 +0000 (23:22 +0200)
commita924e1306eaef8444cd5f3b1ed010bca4bcb3f98
treec5ec6bae756a0f9c884edbdba1b2b7f077e09c01
parent30ef430cdbf14c326fe72918fc48153fa005a41c
oss: Fix double free bug on open failure.

If setting the oss parameters (sample format, sample rate, channel
count) fails, we end up freeing the private_oss_data struct twice.
oss_write.c