MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / StrFreeMem

Method StrFreeMem

Kernel-Bridge/API/StringsAPI.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 static inline VOID StrFreeMem(TChar* Memory) {
64#ifdef _NTDDK_
65 ExFreePoolWithTag(Memory, StrPoolTag);
66#else
67 delete[] Memory;
68#endif
69 }
70
71 static bool Alloc(OUT STRING_INFO* StringInfo, size_t Characters) {
72 if (!StringInfo || !Characters) return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected