MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / FreeKeyWordsFromFile

Method FreeKeyWordsFromFile

neo/tools/comafx/CSyntaxRichEditCtrl.cpp:400–406  ·  view source on GitHub ↗

================ CSyntaxRichEditCtrl::FreeKeyWordsFromFile ================ */

Source from the content-addressed store, hash-verified

398================
399*/
400void CSyntaxRichEditCtrl::FreeKeyWordsFromFile( void ) {
401 for ( int i = 0; i < keyWordsFromFile.Num(); i++ ) {
402 Mem_Free( const_cast<char *>( keyWordsFromFile[i].keyWord ) );
403 Mem_Free( const_cast<char *>( keyWordsFromFile[i].description ) );
404 }
405 keyWordsFromFile.Clear();
406}
407
408/*
409================

Callers

nothing calls this directly

Calls 3

Mem_FreeFunction · 0.85
NumMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected