MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_subtitle_close

Function hb_subtitle_close

libhb/common.c:5999–6011  ·  view source on GitHub ↗

* hb_subtitle_close ********************************************************************** * *********************************************************************/

Source from the content-addressed store, hash-verified

5997 *
5998 *********************************************************************/
5999void hb_subtitle_close( hb_subtitle_t **_sub )
6000{
6001 hb_subtitle_t * sub = *_sub;
6002 if ( _sub && sub )
6003 {
6004 free((char*)sub->name);
6005 free((char*)sub->config.name);
6006 free((char*)sub->config.src_filename);
6007 hb_data_close(&sub->extradata);
6008 free(sub);
6009 *_sub = NULL;
6010 }
6011}
6012
6013/**********************************************************************
6014 * hb_subtitle_extradata_init

Callers 3

do_jobFunction · 0.85
hb_title_closeFunction · 0.85
job_cleanFunction · 0.85

Calls 1

hb_data_closeFunction · 0.85

Tested by

no test coverage detected