MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / descriptorFree

Function descriptorFree

source/parsing/descriptor.cpp:113–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void descriptorFree(descriptor_s* d)
114{
115 if(!d)return;
116
117 if(d->targetTitles)
118 {
119 free(d->targetTitles);
120 d->targetTitles = NULL;
121 }
122
123 if(d->requestedServices)
124 {
125 free(d->requestedServices);
126 d->requestedServices = NULL;
127 }
128}

Callers 1

menuEntryFreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected