ariff ef779241ba Fix huge memory leak within sound buffer (during channel destruction,
buffer resizing, etc.) that was here since eon. Free all (unmanaged)
allocated buffer through sndbuf_destroy() in case we forgot to call
sndbuf_free(). For a managed buffer (mostly hw specific managed buffer),
either provide CHANNEL_FREE() method with appropriate return value to
invoke semi-automatic sndbuf_free() or simply do it on their own. If
everything is failed, sndbuf_destroy() will come to the rescue as a
final measure.

MFC after:	3 days
2007-02-01 09:46:03 +00:00
..
2007-01-14 13:55:43 +00:00
2006-12-29 16:38:22 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2007-01-28 07:19:14 +00:00
2007-01-26 04:58:31 +00:00
2006-11-26 18:27:16 +00:00