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) { void VP8TBufferClear(VP8TBuffer* const b) {
if (b != NULL) { if (b != NULL) {
const VP8Tokens* p = b->pages_; VP8Tokens* p = b->pages_;
while (p != NULL) { while (p != NULL) {
const VP8Tokens* const next = p->next_; VP8Tokens* const next = p->next_;
WebPSafeFree((void*)p); WebPSafeFree(p);
p = next; p = next;
} }
VP8TBufferInit(b, b->page_size_); VP8TBufferInit(b, b->page_size_);