Searched refs:marray (Results 1 – 2 of 2) sorted by relevance
754 struct magic_entry *marray; local767 marray = ecalloc(maxmagic, sizeof(*marray));835 set_test_type(marray[starttest].mp, marray[i].mp);839 marray[i].mp->mimetype,841 marray[i].mp->desc[0] ? marray[i].mp->desc :857 qsort(marray, marraycount, sizeof(*marray), apprentice_sort);870 ms->line = marray[i].mp->lineno;891 if (marray[i].mp) {892 efree(marray[i].mp);895 if (marray) {[all …]
319 struct magic_entry *marray;337 - sizeof(*marray)))) == NULL) {342 + marray = ecalloc(maxmagic, sizeof(*marray));407 mentrycount += marray[i].cont_count;420 mentrycount += marray[i].cont_count;424 - free(marray[i].mp);425 - free(marray);427 + if (marray[i].mp) {428 + efree(marray[i].mp);431 + if (marray) {[all …]
Completed in 12 milliseconds