Searched refs:allocated (Results 1 – 1 of 1) sorted by relevance
435 size_t allocated = 32768; in ReadImage() local437 curr->data = malloc(allocated); in ReadImage()453 strm.avail_out = allocated - curr->len; in ReadImage()456 curr->len = allocated - strm.avail_out; in ReadImage()458 allocated *= 2; in ReadImage()459 curr->data = realloc(curr->data, allocated); in ReadImage()