Skip to content
  • Jan Schmidt's avatar
    Add a finalize method to ensure we clean up state even if someone omitted the... · 5109622d
    Jan Schmidt authored
    Add a finalize method to ensure we clean up state even if someone omitted the state change back to NULL.
    
    Original commit message from CVS:
    (theora_enc_finalize), (theora_enc_sink_setcaps):
    Add a finalize method to ensure we clean up state even if
    someone omitted the state change back to NULL.
    
    * ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1),
    (gst_vorbisenc_chain):
    Free some more leaked bits.
    
    * tests/check/pipelines/theoraenc.c: (start_pipeline),
    (stop_pipeline):
    Wait for state changes to happen if they're ASYNC.
    
    This ought to teach those fancy pants buildbots a lesson.
    5109622d