Reset buffer_alloc_sz after freeing buffer_alloc.

ybf->buffer_alloc and ybf->buffer_alloc_sz should ideally be kept in
sync. If ybf->buffer_alloc is reset to NULL after being freed, then
ybf->buffer_alloc_sz should be reset to 0.

Change-Id: I5cd4859aedc5f168f3406956e20039999b79b91a
diff --git a/aom_scale/generic/yv12config.c b/aom_scale/generic/yv12config.c
index 7cf3c4f..dafe02b 100644
--- a/aom_scale/generic/yv12config.c
+++ b/aom_scale/generic/yv12config.c
@@ -120,6 +120,7 @@
       // Allocation to hold larger frame, or first allocation.
       aom_free(ybf->buffer_alloc);
       ybf->buffer_alloc = NULL;
+      ybf->buffer_alloc_sz = 0;
 
       if (frame_size != (size_t)frame_size) return -1;