MCPcopy Create free account
hub / github.com/Kitware/VTK / free_params

Function free_params

ThirdParty/libproj/vtklibproj/src/malloc.cpp:75–90  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

73
74/*****************************************************************************/
75void *free_params (PJ_CONTEXT *ctx, paralist *start, int errlev) {
76/*****************************************************************************
77 Companion to pj_default_destructor (below). Deallocates a linked list
78 of "+proj=xxx" initialization parameters.
79
80 Also called from pj_init_ctx when encountering errors before the PJ
81 proper is allocated.
82******************************************************************************/
83 paralist *t, *n;
84 for (t = start; t; t = n) {
85 n = t->next;
86 free(t);
87 }
88 proj_context_errno_set (ctx, errlev);
89 return (void *) nullptr;
90}
91
92
93

Callers 3

string_to_paralistFunction · 0.85
pj_default_destructorFunction · 0.85

Calls 1

proj_context_errno_setFunction · 0.85

Tested by

no test coverage detected