void CRYPTO_free(void *str, const char *file, int line)
{
    if (free_impl != NULL && free_impl != &CRYPTO_free) {
        free_impl(str, file, line);
        return;
    }
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
    if (call_malloc_debug) {
        CRYPTO_mem_debug_free(str, 0, file, line);
        free(str);
        CRYPTO_mem_debug_free(str, 1, file, line);
    } else {
        free(str);
    }
#else
    free(str);
#endif
}
['static int file_tests()\n{\n    STANZA s;\n    int linesread = 0, errcnt = 0;\n    memset(&s, 0, sizeof(s));\n    while (!feof(fp) && readstanza(&s, &linesread)) {\n        if (s.numpairs == 0)\n            continue;\n        if (!file_test_run(&s)) {\n            fprintf(stderr, "Test at %d failed\\n", s.start);\n            errcnt++;\n        }\n        clearstanza(&s);\n        s.start = linesread;\n    }\n    return errcnt == 0;\n}', 'static void clearstanza(STANZA *s)\n{\n    PAIR *pp = s->pairs;\n    int i = s->numpairs;\n    int start = s->start;\n    for ( ; --i >= 0; pp++) {\n        OPENSSL_free(pp->key);\n        OPENSSL_free(pp->value);\n    }\n    memset(s, 0, sizeof(*s));\n    s->start = start;\n}', 'void CRYPTO_free(void *str, const char *file, int line)\n{\n    if (free_impl != NULL && free_impl != &CRYPTO_free) {\n        free_impl(str, file, line);\n        return;\n    }\n#ifndef OPENSSL_NO_CRYPTO_MDEBUG\n    if (call_malloc_debug) {\n        CRYPTO_mem_debug_free(str, 0, file, line);\n        free(str);\n        CRYPTO_mem_debug_free(str, 1, file, line);\n    } else {\n        free(str);\n    }\n#else\n    free(str);\n#endif\n}']