MCPcopy Create free account
hub / github.com/OSGeo/PROJ / pj_gridshift_destructor

Function pj_gridshift_destructor

src/transformations/gridshift.cpp:881–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879// ---------------------------------------------------------------------------
880
881static PJ *pj_gridshift_destructor(PJ *P, int errlev) {
882 if (nullptr == P)
883 return nullptr;
884
885 delete static_cast<struct gridshiftData *>(P->opaque);
886 P->opaque = nullptr;
887
888 return pj_default_destructor(P, errlev);
889}
890
891// ---------------------------------------------------------------------------
892

Callers 1

gridshift.cppFile · 0.85

Calls 1

pj_default_destructorFunction · 0.85

Tested by

no test coverage detected