# include "pswarp.h"

void pswarpCleanup (pmConfig *config) {

    psFree (config);

    psTimerStop ();
    psMemCheckCorruption(stderr, true);
    pmModelClassCleanup ();
    psTimeFinalize ();
    psThreadPoolFinalize ();
    pmConceptsDone ();
    pmConfigDone ();
    // fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, stdout, false), "pswarp");
    fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "pswarp");

    return;
}
