Changeset 879


Ignore:
Timestamp:
2012-04-01T08:20:16+02:00 (3 years ago)
Author:
moo
Message:

release xc_autocheck_done_names even if skipped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/struct.m4

    r877 r879  
    7373        ')
    7474        IFAUTOCHECK(`
    75         /* {{{ autocheck */ if (!xc_autocheck_skip) {
     75        /* {{{ autocheck */
     76        if (!xc_autocheck_skip) {
    7677            int name_check_errors = xc_check_names(__FILE__, __LINE__, "FUNC_NAME", xc_autocheck_assert_names, sizeof(xc_autocheck_assert_names) / sizeof(xc_autocheck_assert_names[0]), &xc_autocheck_done_names);
    77             zend_hash_destroy(&xc_autocheck_done_names);
    7878
    7979            if (xc_autocheck_done_count != assert_count) {
     
    9494                assert(0);
    9595            }
    96         } while (0); /* }}} */
     96        }
     97        zend_hash_destroy(&xc_autocheck_done_names);
     98        /* }}} */
    9799        ')
    98100        ifdef(`ELEMENTSOF_$1', `
Note: See TracChangeset for help on using the changeset viewer.