MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / free_footnote_list

Function free_footnote_list

libraries/hoedown/src/document.c:296–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static void
297free_footnote_list(struct footnote_list *list, int free_refs)
298{
299 struct footnote_item *item = list->head;
300 struct footnote_item *next;
301
302 while (item) {
303 next = item->next;
304 if (free_refs)
305 free_footnote_ref(item->ref);
306 free(item);
307 item = next;
308 }
309}
310
311
312/*

Callers 1

hoedown_document_renderFunction · 0.85

Calls 1

free_footnote_refFunction · 0.85

Tested by

no test coverage detected