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

Function free_link_refs

libraries/hoedown/src/document.c:224–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224static void
225free_link_refs(struct link_ref **references)
226{
227 size_t i;
228
229 for (i = 0; i < REF_TABLE_SIZE; ++i) {
230 struct link_ref *r = references[i];
231 struct link_ref *next;
232
233 while (r) {
234 next = r->next;
235 hoedown_buffer_free(r->link);
236 hoedown_buffer_free(r->title);
237 free(r);
238 r = next;
239 }
240 }
241}
242
243static struct footnote_ref *
244create_footnote_ref(struct footnote_list *list, const uint8_t *name, size_t name_size)

Callers 1

hoedown_document_renderFunction · 0.85

Calls 1

hoedown_buffer_freeFunction · 0.85

Tested by

no test coverage detected