对技术执着
分类: LINUX
2015-07-08 17:27:35
--- a/frameworks/base/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/frameworks/base/services/surfaceflinger/DisplayHardware/HWComposer.cpp @@ -192,7 +192,8 @@ status_t HWComposer::release() const { status_t HWComposer::disable() { if (mHwc) { - free(mList); + //free(mList); + freeList(mList); mList = NULL; int err = mHwc->prepare(mHwc, NULL); return (status_t)err;