This commit is contained in:
Jaime Passos 2019-05-21 09:50:39 -03:00
parent 714c997aac
commit 35d6da159d
2 changed files with 0 additions and 3 deletions

View File

@ -677,8 +677,6 @@ static void HWR_LoadPatchFlat(GLMipmap_t *grMipmap, lumpnum_t flatlumpnum)
grMipmap->height = (UINT16)SHORT(patch->height);
R_FlatPatch(patch, Z_Malloc(grMipmap->width * grMipmap->height, PU_HWRCACHE, &grMipmap->grInfo.data));
Z_Free(patch);
}
static void HWR_LoadTextureFlat(GLMipmap_t *grMipmap, INT32 texturenum)

View File

@ -1680,7 +1680,6 @@ boolean R_CheckIfPatch(lumpnum_t lump)
}
}
Z_Free(patch);
return result;
}