Merge "VP8TBufferClear: remove some misleading const's"

This commit is contained in:
pascal massimino 2015-02-06 02:01:15 -08:00 committed by Gerrit Code Review
commit be6635e91d

View File

@ -53,10 +53,10 @@ void VP8TBufferInit(VP8TBuffer* const b, int page_size) {
void VP8TBufferClear(VP8TBuffer* const b) {
if (b != NULL) {
const VP8Tokens* p = b->pages_;
VP8Tokens* p = b->pages_;
while (p != NULL) {
const VP8Tokens* const next = p->next_;
WebPSafeFree((void*)p);
VP8Tokens* const next = p->next_;
WebPSafeFree(p);
p = next;
}
VP8TBufferInit(b, b->page_size_);