pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:252:    }    else    fprintf (stderr, "\n Program for destructed object gone too, "    "its id was: %d", x->program_id);    });    }    });       {    size_t index; -  for (index = 0; index < pike_type_hash_size; index++) { +  for (index = 0; index <= pike_type_hash_size; index++) {    REPORT_LINKED_LIST_LEAKS(pike_type, pike_type_hash[index], NOTHING, PIKE_T_TYPE, "Type", {});    }    }      #undef REPORT_LINKED_LIST_LEAKS       /* Just remove the extra external refs reported above and do    * another gc so that we don't report the blocks again in the low    * level dmalloc reports. */   
pike.git/src/module.c:306:    } while (0)       ZAP_LINKED_LIST_LEAKS (array, first_array, STATIC_ARRAYS);    ZAP_LINKED_LIST_LEAKS (multiset, first_multiset, NOTHING);    ZAP_LINKED_LIST_LEAKS (mapping, first_mapping, NOTHING);    ZAP_LINKED_LIST_LEAKS (program, first_program, NOTHING);    ZAP_LINKED_LIST_LEAKS (object, first_object, NOTHING);       {    size_t index; -  for (index = 0; index < pike_type_hash_size; index++) { +  for (index = 0; index <= pike_type_hash_size; index++) {    ZAP_LINKED_LIST_LEAKS(pike_type, pike_type_hash[index], NOTHING);    }    }      #undef ZAP_LINKED_LIST_LEAKS       do_gc (NULL, 1);       gc_keep_markers = 0;    exit_gc();