Loading services/audioflinger/PatchPanel.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -166,7 +166,9 @@ status_t AudioFlinger::PatchPanel::createAudioPatch(const struct audio_patch *pa if (*handle == mPatches[index]->mHandle) { ALOGV("createAudioPatch() removing patch handle %d", *handle); halHandle = mPatches[index]->mHalHandle; Patch *removedPatch = mPatches[index]; mPatches.removeAt(index); delete removedPatch; break; } } Loading Loading
services/audioflinger/PatchPanel.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -166,7 +166,9 @@ status_t AudioFlinger::PatchPanel::createAudioPatch(const struct audio_patch *pa if (*handle == mPatches[index]->mHandle) { ALOGV("createAudioPatch() removing patch handle %d", *handle); halHandle = mPatches[index]->mHalHandle; Patch *removedPatch = mPatches[index]; mPatches.removeAt(index); delete removedPatch; break; } } Loading