Searched refs:freelist (Results 1 – 1 of 1) sorted by relevance
881 BPMNode** freelist; member905 if(!lists->memory[i].in_use) lists->freelist[lists->numfree++] = &lists->memory[i]; in bpmnode_create()910 result = lists->freelist[lists->nextfree++]; in bpmnode_create()1010 lists.freelist = (BPMNode**)lodepng_malloc(lists.memsize * sizeof(BPMNode*)); in lodepng_huffman_code_lengths()1013 …if(!lists.memory || !lists.freelist || !lists.chains0 || !lists.chains1) error = 83; /*alloc fail*/ in lodepng_huffman_code_lengths()1016 for(i = 0; i != lists.memsize; ++i) lists.freelist[i] = &lists.memory[i]; in lodepng_huffman_code_lengths()1035 lodepng_free(lists.freelist); in lodepng_huffman_code_lengths()