another unsure mem leak
change Audio.src may cause leak, but i am not very sure of that.
I can't find anything suspicious. JSValueToNSString always returns an auto-released string, and the Audio's path is released before it's re-assigned and retained.
i thind i have found the problem. in EJOpenALBuffer.m alDeleteSources should be placed before [buffer release];
I've looked into it, but I can't really find anything.
Did you mean the EJAudioSourceOpenAL.m, around line 34? Why should it make a difference if the source is deleted before the buffer? Does the source somehow retain it?
Edit: whoops, you're right. The OpenAL docs spell it out "Buffers which are attached to a source can not be deleted."