MCPcopy Create free account
hub / github.com/JACoders/OpenJK / FS_FreeFileList

Function FS_FreeFileList

code/qcommon/files.cpp:2165–2180  ·  view source on GitHub ↗

================= FS_FreeFileList ================= */

Source from the content-addressed store, hash-verified

2163=================
2164*/
2165void FS_FreeFileList( char **fileList ) {
2166 //rwwRMG - changed to fileList to not conflict with list type
2167 int i;
2168
2169 FS_AssertInitialised();
2170
2171 if ( !fileList ) {
2172 return;
2173 }
2174
2175 for ( i = 0 ; fileList[i] ; i++ ) {
2176 Z_Free( fileList[i] );
2177 }
2178
2179 Z_Free( fileList );
2180}
2181
2182
2183/*

Callers 8

FS_RmdirFunction · 0.70
FS_GetFileListFunction · 0.70
FS_Dir_fFunction · 0.70
FS_NewDir_fFunction · 0.70
FS_FilenameCompletionFunction · 0.70
SE_R_ListFilesFunction · 0.70
files.cppFile · 0.50
R_CheckMP3sFunction · 0.50

Calls 2

FS_AssertInitialisedFunction · 0.70
Z_FreeFunction · 0.70

Tested by

no test coverage detected