Skip to content

Commit

Permalink
Fixed: Minor memory leak in P_LoadMap
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 12, 2011
1 parent da094f7 commit b0c907e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/engine/portable/src/p_data.c
Expand Up @@ -421,9 +421,12 @@ boolean P_LoadMap(const char* uriCString)

if(!isDedicated)
R_InitRendVerticesPool();

Uri_Delete(uri);
return true;
}

Uri_Delete(uri);
return false;
}

Expand Down

0 comments on commit b0c907e

Please sign in to comment.