Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
Memory leak fix.
Browse files Browse the repository at this point in the history
Memory leak fix.
  • Loading branch information
Rinnegatamante committed Feb 29, 2016
1 parent dad2a80 commit 209d4f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/luaRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ static int lua_loadobj(lua_State *L){

}

// Freeing temp vertexList
// Freeing temp vertexList and allocated file
free(content);
vertexList* tmp_init;
while (init != NULL){
tmp_init = init;
Expand Down

0 comments on commit 209d4f2

Please sign in to comment.