Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!

This commit is contained in:
Alex Szpakowski
2014-08-07 14:53:17 -03:00
parent a0fff798aa
commit d59c76a55f
38 changed files with 194 additions and 247 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ bool FLACDecoder::accepts(const std::string &ext)
love::sound::Decoder *FLACDecoder::clone()
{
return new FLACDecoder(data, ext, bufferSize, sampleRate);
return new FLACDecoder(data.get(), ext, bufferSize, sampleRate);
}
int FLACDecoder::decode()