Loading services/audioflinger/Effects.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1856,12 +1856,13 @@ status_t AudioFlinger::EffectHandle::command(uint32_t cmdCode, } // copy to local memory in case of client corruption b/32220769 param = (effect_param_t *)realloc(param, size); if (param == NULL) { auto *newParam = (effect_param_t *)realloc(param, size); if (newParam == NULL) { ALOGW("command(): out of memory"); status = NO_MEMORY; break; } param = newParam; memcpy(param, p, size); int reply = 0; Loading Loading
services/audioflinger/Effects.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1856,12 +1856,13 @@ status_t AudioFlinger::EffectHandle::command(uint32_t cmdCode, } // copy to local memory in case of client corruption b/32220769 param = (effect_param_t *)realloc(param, size); if (param == NULL) { auto *newParam = (effect_param_t *)realloc(param, size); if (newParam == NULL) { ALOGW("command(): out of memory"); status = NO_MEMORY; break; } param = newParam; memcpy(param, p, size); int reply = 0; Loading