Fix a memory leak problem in encoder
authorYunqing Wang <yunqingwang@google.com>
Mon, 6 Dec 2010 22:21:37 +0000 (17:21 -0500)
committerYunqing Wang <yunqingwang@google.com>
Mon, 6 Dec 2010 22:21:37 +0000 (17:21 -0500)
commit9520f4b3cc0710729347ea156ff32ad536ea6a45
tree5a6c58c56f11c3539fcc317f7123fd0eb8153399
parentd283d9bb307fe2e93107a4271bb984d8cd6c6736
Fix a memory leak problem in encoder

Deallocating the buffers before re-allocating them.

The fix passed James Berry's test program for memory
leak check.

Change-Id: I18c3cf665412c0e313a523e3d435106c03ca438d
vp8/encoder/onyx_if.c