]> granicus.if.org Git - libvpx/commitdiff
Free set_mv properly
authorAngie Chiang <angiebird@google.com>
Fri, 30 Aug 2019 01:30:40 +0000 (18:30 -0700)
committerAngie Chiang <angiebird@google.com>
Fri, 30 Aug 2019 01:38:53 +0000 (18:38 -0700)
Change-Id: I9b1830dc16189678121c860e0493ed8b04c512a8

vp9/encoder/vp9_non_greedy_mv.c

index 1b6e6458916626f0c08a58ec669c1c9448f5aa24..d21f4def27a2d72ae23fe611b11b857f57bc15be 100644 (file)
@@ -234,6 +234,7 @@ Status vp9_alloc_motion_field(MotionField *motion_field, BLOCK_SIZE bsize,
 
 void vp9_free_motion_field(MotionField *motion_field) {
   vpx_free(motion_field->mf);
+  vpx_free(motion_field->set_mv);
   vpx_free(motion_field->local_structure);
   vp9_zero(*motion_field);
 }