MCPcopy Create free account
hub / github.com/MyGUI/mygui / destroy

Method destroy

Tools/EditorFramework/pugixml.cpp:10415–10425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10413 }
10414
10415 static void destroy(void* ptr)
10416 {
10417 if (!ptr)
10418 return;
10419
10420 // free all allocated pages
10421 static_cast<xpath_query_impl*>(ptr)->alloc.release();
10422
10423 // free allocator memory (with the first page)
10424 xml_memory::deallocate(ptr);
10425 }
10426
10427 xpath_query_impl() :
10428 root(0),

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected