sp<IMediaSource> OggExtractor::getTrack(size_t index) {
 if (index >= 1) {
 return NULL;
 }

 return new OggSource(this);
}

The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.