OSDN Git Service

Delete buffer data when removing it from the SharedGroup namespace
authorJesse Hall <jessehall@google.com>
Sat, 9 Nov 2013 23:28:21 +0000 (15:28 -0800)
committerJesse Hall <jessehall@google.com>
Sat, 9 Nov 2013 23:28:21 +0000 (15:28 -0800)
commit4169f3f84dabb7c95f3c381a60b16275062eb86c
treea42a8065a65c501f100fff854b1a1060a24bb974
parent02f15623d15e0b99e6786910d17d403afc28d7f7
Delete buffer data when removing it from the SharedGroup namespace

Updating or deleting data associated with a buffer object was clearing
the name->data association, but not actually deallocating the data.

Thanks to manjian2006 for finding the bug and proposing the fix.

Bug: 60468
Change-Id: I477f1e67d33a486419127ac790f32ddbbf566089
shared/OpenglCodecCommon/GLSharedGroup.cpp