pipasic_src/inspect/PyInspect/PyInspect.c
// Cleanup, called by Python when unloading.  Deallocate memory:
Cleanup, called by Python when unloading.  Deallocate memory.
Cleanup called by Python when unloading . Deallocate memory .
void PyInspectCleanup(void)
{
    FreeMassDeltaByMass();
    FreeMassDeltas();
    FreeIsSubDecoration();
    FreeJumpingHash();
    FreeSVMModels();
    FreeBayesianModels();
    FreeLDAModels();
    FreePRMBayesianModel(InteractiveBN);
    InteractiveBN = NULL;
    SafeFree(GlobalOptions);
    GlobalOptions = NULL;
    FreeCCModelSVM();
    FreeTagSkewScores();
    SafeFree(MassDeltaByIndex);
    MassDeltaByIndex = NULL;
    FreeMZXMLParseCursor();
    FreeMZDataParseCursor();
}
void PyInspectCleanup ( void ) { FreeMassDeltaByMass ( ) ; FreeMassDeltas ( ) ; FreeIsSubDecoration ( ) ; FreeJumpingHash ( ) ; FreeSVMModels ( ) ; FreeBayesianModels ( ) ; FreeLDAModels ( ) ; FreePRMBayesianModel ( InteractiveBN ) ; InteractiveBN = NULL ; SafeFree ( GlobalOptions ) ; GlobalOptions = NULL ; FreeCCModelSVM ( ) ; FreeTagSkewScores ( ) ; SafeFree ( MassDeltaByIndex ) ; MassDeltaByIndex = NULL ; FreeMZXMLParseCursor ( ) ; FreeMZDataParseCursor ( ) ; }
Cleanup, called by Python when unloading.
Cleanup called by Python when unloading .
//FreeTaggingModel();