check: Fix minor leak
authorEdward Hervey <edward@centricular.com>
Thu, 26 Oct 2017 13:55:32 +0000 (15:55 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 26 Oct 2017 13:55:32 +0000 (15:55 +0200)
tests/check/libs/audio.c

index ad048b2..04b7f42 100644 (file)
@@ -879,6 +879,8 @@ GST_START_TEST (test_stream_align)
         fail_unless (!discont);
     }
   }
+
+  gst_audio_stream_align_free (align);
 }
 
 GST_END_TEST;
@@ -1057,6 +1059,8 @@ GST_START_TEST (test_stream_align_reverse)
         fail_unless (!discont);
     }
   }
+
+  gst_audio_stream_align_free (align);
 }
 
 GST_END_TEST;