Severe memory leak with OpenAL sound driver

BlitzMax Forums/BlitzMax Programming/Severe memory leak with OpenAL sound driver

freeaudioglue.cpp has this:

int BBCALL fa_StopChannel( int channel ){
	output	*out;
	if (io==0) return 0;
	out=io->getchannel(channel);
	if (out) {
		out->stop(1);
		io->freechannel(channel);
	}
	return 0;
}

But I can't find anything similar in the OpenAL code, it's completely different.