Skip to content

Commit

Permalink
Fixed memory leak in readDoomTextureDefLump
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Aug 14, 2011
1 parent fc69d2c commit a48fe86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/portable/src/r_data.c
Expand Up @@ -1725,6 +1725,7 @@ typedef struct {
free(validTexDefs);
free(texDefNumPatches);
free(maptex1);
free(patchInfo);

if(numDefs)
*numDefs = numValidTexDefs;
Expand Down

0 comments on commit a48fe86

Please sign in to comment.