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

Function hb_list_close

libhb/common.c:4350–4363  ·  view source on GitHub ↗

* hb_list_close ********************************************************************** * Free memory allocated by hb_list_init. Does NOT free contents of * items still in the list. *********************************************************************/

Source from the content-addressed store, hash-verified

4348 * items still in the list.
4349 *********************************************************************/
4350void hb_list_close( hb_list_t ** _l )
4351{
4352 hb_list_t * l = *_l;
4353
4354 if (l == NULL)
4355 {
4356 return;
4357 }
4358
4359 free( l->items );
4360 free( l );
4361
4362 *_l = NULL;
4363}
4364
4365/**********************************************************************
4366 * hb_string_list_copy

Callers 15

hb_closeFunction · 0.85
hb_batch_initFunction · 0.85
hb_batch_closeFunction · 0.85
TitleCloseIfoFunction · 0.85
muxCloseFunction · 0.85
hb_json_job_scanFunction · 0.85
InitAudioFunction · 0.85
InitSubtitleFunction · 0.85
syncVideoInitFunction · 0.85
syncVideoCloseFunction · 0.85
syncAudioCloseFunction · 0.85
syncSubtitleCloseFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68